access-patch

Chris Faylor cgf@cygnus.com
Mon Jan 10 16:28:00 GMT 2000


On Mon, Jan 10, 2000 at 11:11:19PM +0100, Corinna Vinschen wrote:
>Chris Faylor wrote:
>> On Mon, Jan 10, 2000 at 09:46:07PM +0100, Corinna Vinschen wrote:
>> >+  if (os_being_run == winNT && allow_ntsec)
>> >+    return acl_access (fn, flags);
>> 
>> Is there any reason for the "os_being_run" test?  I don't see it anywhere
>> else in the code.  If this is required we should probably handle it one
>> time early on rather than always checking for it in access().
>
>Asking for os_being_run is a little paranoid, checking for allow_ntsec
>should be enough. You can simply throw it away.

Ok.   I've applied this with that modification.

cgf


More information about the Cygwin-developers mailing list