From: Kevin's C. B. A. <kev...@pl...> - 2007-03-19 13:48:56
|
Update of /cvsroot/libteklti/libteklti/src In directory planetsaphire.com:/tmp/cvs-serv14670/src Modified Files: aclunix.c Log Message: REMOVE: Unneeded ACE from '.' file. Index: aclunix.c =================================================================== RCS file: /cvsroot/libteklti/libteklti/src/aclunix.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C 2 -d -p -r1.7 -r1.8 *** aclunix.c 19 Mar 2007 14:41:16 -0000 1.7 --- aclunix.c 19 Mar 2007 14:48:31 -0000 1.8 *************** static inline int aclunix_prepnewdesc ( *** 329,333 **** { struct _fileent_v1 fent; - struct _aceent_v1 aent; size_t s; --- 329,332 ---- *************** static inline int aclunix_prepnewdesc ( *** 340,352 **** GETTEKUUID(tekfileacluuid, fent._fileent_uuid); fent._fileent_flags = aclunix_fileflag_inherit; ! ! fent._fileent_first_aceloc = 1; ! //fent._fileent_first_aceloc = 0; ! memset(&aent, '\0', sizeof(struct _aceent_v1)); ! aent._aceent_magic = _ent_magic_aceent_v1; ! aent._aceent_uid = getuid(); ! aent._aceent_gid = 0; ! aent._aceent_perms = 0x0000000000000001; ! GETTEKUUID(tekfileaceuuid, aent._aceent_uuid); /* Run fwrite() and return the result. */ --- 339,343 ---- GETTEKUUID(tekfileacluuid, fent._fileent_uuid); fent._fileent_flags = aclunix_fileflag_inherit; ! fent._fileent_first_aceloc = 0; /* Run fwrite() and return the result. */ *************** static inline int aclunix_prepnewdesc ( *** 358,368 **** return 1; } - aclunix_tobendian((struct _ent *)&aent); - s = fwrite(&aent, sizeof(struct _aceent_v1), 1, - handle->aclunix_handle_desc); - if ( s < 1 ) - { - return 1; - } /* Rewind the stream. */ --- 349,352 ---- |