- Timestamp:
- Nov 16, 2004, 5:59:25 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/emx/src/lib/sys/b_fsNativeFileStat.c
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r1636 r1637 96 96 #endif 97 97 rc = DosQueryPathInfo((PCSZ)pszNativePath, FIL_QUERYEASIZE, &info, sizeof(info.fsts4)); 98 /* Now, if the file is open in write mode, we cannot even get the EA size. stupid. */ 99 if (rc == ERROR_SHARING_VIOLATION) 100 { 101 #if OFF_MAX > LONG_MAX 102 if (__libc_gpfnDosOpenL) 103 { 104 rc = DosQueryPathInfo((PCSZ)pszNativePath, FIL_STANDARDL, &info, sizeof(info.fsts4L) - sizeof(info.fsts4L.cbList)); 105 fLarge = 1; 106 } 107 else 108 #endif 109 rc = DosQueryPathInfo((PCSZ)pszNativePath, FIL_STANDARD, &info, sizeof(info.fsts4) - sizeof(info.fsts4.cbList)); 110 info.fsts4L.cbList = 0; 111 } 98 112 FS_RESTORE(); 99 113 if (rc) -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.