cygwin_internal(CW_CHECK_NTSEC, filename) patch

Christopher Faylor cgf@redhat.com
Wed Apr 2 18:33:00 GMT 2003


On Wed, Apr 02, 2003 at 01:22:13PM -0500, Jason Tishler wrote:
>On Wed, Apr 02, 2003 at 10:42:58AM -0500, Christopher Faylor wrote:
>> Why are you essentially duplicating all of the checking that already
>> happens with the wincap stuff?
>
>I checked wincap before I started and somehow missed is_winnt().  Doh!
>However, I could not find the equivalent of the HAS_NTSEC_BY_DEFAULT
>functionality in wincap.  What other functionality am I duplicating?

If you just do a path_conv on a path, you can check the 'has_acls ()'
flag.  I think this just devolves to "allow_ntsec && win32_path.has_acls ()".

cgf



More information about the Cygwin-patches mailing list