This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: access-patch
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