[Libsysio-commit] HEAD: libsysio/drivers/native fs_native.c
Brought to you by:
lward
From: Lee W. <lw...@us...> - 2007-05-01 17:27:38
|
Update of /cvsroot/libsysio/libsysio/drivers/native In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv15499 Modified Files: fs_native.c Log Message: >From Bob Glossman at Cray; Modified so as not to capture/reset umask on Red Storm. It's done in cstart on that machine. Index: fs_native.c =================================================================== RCS file: /cvsroot/libsysio/libsysio/drivers/native/fs_native.c,v retrieving revision 1.61 retrieving revision 1.62 diff -u -w -b -B -p -r1.61 -r1.62 --- fs_native.c 1 May 2007 16:33:52 -0000 1.61 +++ fs_native.c 1 May 2007 17:27:34 -0000 1.62 @@ -348,7 +348,13 @@ _sysio_native_init() * zero. All permission bits to open/creat/setattr are absolute -- * They've already had a umask applied, when appropriate. */ +#ifndef REDSTORM + /* + * This is done is cstart on Red Storm. Saves a syscall from + * every node... + */ _sysio_umask = syscall(SYSIO_SYS_umask, 0); +#endif return _sysio_fssw_register("native", &native_fssw_ops); } |