Changeset dcc0498f in tol
- Timestamp:
- Jun 24, 2010, 1:36:48 PM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- a110589
- Parents:
- c543d5e
- File:
-
- 1 edited
-
tol/bbasic/dir.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/bbasic/dir.cpp
rc543d5e rdcc0498f 451 451 //-------------------------------------------------------------------- 452 452 { 453 if(!path_.HasName()) { return(path_); }453 //if(!path_.HasName()) { return(path_); } 454 454 /* 455 455 #if defined(UNIX) … … 463 463 BText path = GetAbsolutePath(path_); 464 464 #ifdef WIN32 465 static int maxPathLength_ = 2048; 466 static char* fName = new char[maxPathLength_]; 467 int len = GetLongPathName(path.String(), fName, maxPathLength_-1); 468 return(BText(fName,len)); 465 #define maxPathLength_ 10000 466 static char fName[maxPathLength_]; 467 TCHAR** lppPart={NULL}; 468 int len = GetFullPathName(path.String(), maxPathLength_-1, fName, lppPart); 469 path.Copy(fName,len); 470 path.Replace("\\","/"); 471 return(path); 469 472 #else 470 473 return path;
Note: See TracChangeset
for help on using the changeset viewer.
