delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/10/17:37:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Brian Keener <bkeener AT thesoftwaresource DOT com>
cc: cygwin AT cygwin DOT 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

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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019