Fix for solaris using 'l' instead of 'S'.

This commit is contained in:
Pavel Machek 1999-04-23 10:38:13 +00:00
parent 2b862fe4f1
commit bd8f6266b7
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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;