forked from aniani/vim
updated for version 7.1-064
This commit is contained in:
@@ -2499,7 +2499,13 @@ mch_getperm(name)
|
||||
if (stat((char *)name, &statb))
|
||||
#endif
|
||||
return -1;
|
||||
#ifdef __INTERIX
|
||||
/* The top bit makes the value negative, which means the file doesn't
|
||||
* exist. Remove the bit, we don't use it. */
|
||||
return statb.st_mode & ~S_ADDACE;
|
||||
#else
|
||||
return statb.st_mode;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user