- Timestamp:
- Feb 17, 2014, 2:25:58 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/src/lib/sys/b_fsNativeFileStat.c
r3063 r3812 180 180 181 181 #if OFF_MAX > LONG_MAX 182 ULONG fAttribut tes = fLarge ? info.fsts4L.attrFile : info.fsts4.attrFile;182 ULONG fAttributes = fLarge ? info.fsts4L.attrFile : info.fsts4.attrFile; 183 183 #else 184 ULONG fAttribut tes = info.fsts4.attrFile;185 #endif 186 pStat->st_attr = fAttribut tes;184 ULONG fAttributes = info.fsts4.attrFile; 185 #endif 186 pStat->st_attr = fAttributes; 187 187 #if OFF_MAX > LONG_MAX 188 188 if (fLarge) … … 197 197 pStat->st_blocks = info.fsts4.cbFileAlloc / S_BLKSIZE; 198 198 } 199 if (fAttribut tes & FILE_DIRECTORY)199 if (fAttributes & FILE_DIRECTORY) 200 200 { 201 201 /* directory */ … … 205 205 { 206 206 pStat->st_mode = S_IFREG; 207 if ( rc& FILE_READONLY)207 if (fAttributes & FILE_READONLY) 208 208 pStat->st_mode |= (S_IREAD >> 6) * 0111; 209 209 else
Note:
See TracChangeset
for help on using the changeset viewer.