Changeset 3812
- Timestamp:
- Feb 17, 2014, 2:25:58 PM (11 years ago)
- Files:
-
- 2 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 -
trunk/libc/src/kNIX/os2/b_fsNativeFileStat.c
r3062 r3812 162 162 163 163 #if OFF_MAX > LONG_MAX 164 ULONG fAttribut tes = fLarge ? info.fsts4L.attrFile : info.fsts4.attrFile;164 ULONG fAttributes = fLarge ? info.fsts4L.attrFile : info.fsts4.attrFile; 165 165 #else 166 ULONG fAttribut tes = info.fsts4.attrFile;167 #endif 168 pStat->st_attr = fAttribut tes;166 ULONG fAttributes = info.fsts4.attrFile; 167 #endif 168 pStat->st_attr = fAttributes; 169 169 #if OFF_MAX > LONG_MAX 170 170 if (fLarge) … … 179 179 pStat->st_blocks = info.fsts4.cbFileAlloc / S_BLKSIZE; 180 180 } 181 if (fAttribut tes & FILE_DIRECTORY)181 if (fAttributes & FILE_DIRECTORY) 182 182 { 183 183 /* directory */ … … 187 187 { 188 188 pStat->st_mode = S_IFREG; 189 if ( rc& FILE_READONLY)189 if (fAttributes & FILE_READONLY) 190 190 pStat->st_mode |= (S_IREAD >> 6) * 0111; 191 191 else
Note:
See TracChangeset
for help on using the changeset viewer.