This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: access-patch


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]