Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 23 Jul 2003 15:52:55 +1000 (EST) From: luke DOT kendall AT cisra DOT canon DOT com DOT au Subject: How to tell if ntsec is on or off To: cygwin AT cygwin DOT com In-Reply-To: <20030723052413.CDF5034903@nevin.research.canon.com.au> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Message-Id: <20030723055255.B0D3634903@nevin.research.canon.com.au> 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 ~ \