How to tell if ntsec is on or off
luke.kendall@cisra.canon.com.au
luke.kendall@cisra.canon.com.au
Wed Jul 23 06:36:00 GMT 2003
On 23 Jul, I wrote:
> I was going to qualify this with `when ntsec is defined in CYGWIN'
It's not easy to find out if ntsec is turned on, is it? When I wrote
the above, I was thinking "ntsec turned on" means $CYGWIN includes the
word "ntsec".
But I think I've just realised that isn't true, is it?
If it's pre Cygwin 1.3.something-like-18, then it's on if and only if
ntsec is in $CYGWIN, but if it's after, it's on unless $CYGWIN includes
nontsec. So the actual test you'd have to make would be something like
what I've written here (read "~" as "includes"):
version < 1.3.18 then $CYGWIN ~ \<ntsec else !( $CYGWIN ~ nontsec )
luke
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list