access-patch

Corinna Vinschen corinna@vinschen.de
Mon Jan 10 14:11:00 GMT 2000


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.

Bye,
Corinna


More information about the Cygwin-developers mailing list