Mercurial > vim
comparison src/os_unix.c @ 1350:3d698caa5dfc v7.1.064
updated for version 7.1-064
author | vimboss |
---|---|
date | Sat, 11 Aug 2007 20:24:10 +0000 |
parents | a3c21128b246 |
children | 61b50044616b |
comparison
equal
deleted
inserted
replaced
1349:da1d62fe5379 | 1350:3d698caa5dfc |
---|---|
2497 if (stat((char *)vms_fixfilename(name), &statb)) | 2497 if (stat((char *)vms_fixfilename(name), &statb)) |
2498 #else | 2498 #else |
2499 if (stat((char *)name, &statb)) | 2499 if (stat((char *)name, &statb)) |
2500 #endif | 2500 #endif |
2501 return -1; | 2501 return -1; |
2502 #ifdef __INTERIX | |
2503 /* The top bit makes the value negative, which means the file doesn't | |
2504 * exist. Remove the bit, we don't use it. */ | |
2505 return statb.st_mode & ~S_ADDACE; | |
2506 #else | |
2502 return statb.st_mode; | 2507 return statb.st_mode; |
2508 #endif | |
2503 } | 2509 } |
2504 | 2510 |
2505 /* | 2511 /* |
2506 * set file permission for 'name' to 'perm' | 2512 * set file permission for 'name' to 'perm' |
2507 * | 2513 * |