Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 10 Feb 2003 17:36:27 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Brian Keener <bkeener@thesoftwaresource.com>
cc: cygwin@cygwin.com
Subject: Re: Problems compiling trivial C program.
In-Reply-To: <VA.00000d23.012d75b4@thesoftwaresource.com>
Message-ID: <Pine.GSO.4.44.0302101732360.3160-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Mon, 10 Feb 2003, Brian Keener wrote:

> Max Bowsher wrote:
> > (no)winsymlinks - if set, Cygwin creates symlinks as Windows shortcuts with
> > a special header and the R/O attribute set. If not set, Cygwin creates
> > symlinks as plain files with a magic number, a path and the system attribute
> > set. Defaults to set.
>
> I've read the CYGWIN environment settings before but sure don't remember seeing
> this one.  Learned something new. ;-) Now what happens if we change this in mid
> stream - also see below.

The usual answer: try and see.

> > NB: setup creates the magic-number/system-attribute always.
>
> Three questions here -
> 1) call me stupid - what is NB.

"Nota Bene" - "important note" (Latin). [Er, should I really call you
stupid? ;-)]

> 2) Is this correct for setup - I see this default on a new install but
> shouldn't it handle based on CYGWIN environment if updating .... But .... then
> what happens if I change the setting - see question above and Question 3.

Yes it is.  Setup has built-in code that creates symlinks, which doesn't
depend on the CYGWIN variable.  Besides, CYGWIN may not be set globally.

> 3) Can both methods work simultaneously.  If setup does it one way and CYGWIN
> Environment default is the other - will I have broken symlinks.

You shouldn't.  They usually coexist peacefully.  Unless Windows (or a
Windows administrator with restless fingers) starts going around changing
attributes.

> bk

Hope this helps,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

