Fix for solaris using 'l' instead of 'S'.
Этот коммит содержится в:
родитель
2b862fe4f1
Коммит
bd8f6266b7
@ -1,3 +1,8 @@
|
||||
1999-04-23 Pavel Machek <pavel@artax.karlin.mff.cuni.cz>
|
||||
|
||||
* vfs.c (vfs_parse_filemode): fix for solaris which uses 'l'
|
||||
instead of 'S'.
|
||||
|
||||
Wed Apr 21 21:59:50 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
|
||||
|
||||
* extfs.c (extfs_open): tempnam returns a malloced string, no need
|
||||
|
@ -1443,6 +1443,7 @@ int vfs_parse_filemode (char *p)
|
||||
switch (*(p++)){
|
||||
case 'x': res |= 0010; break;
|
||||
case 's': res |= 0010 | S_ISGID; break;
|
||||
case 'l': /* Solaris produces these */
|
||||
case 'S': res |= S_ISGID; break;
|
||||
case '-': break;
|
||||
default: return -1;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user