delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/23/15:41:06

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A96CAA7.590B96A7@yahoo.com>
Date: Fri, 23 Feb 2001 15:40:07 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: cygwin AT sources DOT redhat DOT com
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sources DOT redhat DOT com
CC: John Paulson <munch AT powertv DOT com>
Subject: Re: [ANNOUNCEMENT]: Important change to symbolic linkfunctionality
References: <5 DOT 0 DOT 2 DOT 1 DOT 0 DOT 20010223120510 DOT 02408cf0 AT mailhost> <3A96C959 DOT ADC04E3 AT yahoo DOT com>

Earnie Boyd wrote:
> 
> John Paulson wrote:
> >
> >    I like the proposal to unify Windows and Cygwin symlinks.  However, one
> > minor problem can occur: under *nix I can have files with the extension
> > .lnk, with no special semantics associated with it.  I can tar up a directory
> > containing .lnk files on my *nix box and untar them on my cygwin box.  What
> > happens to those files with the .lnk extension?  I think this will be another
> > bit of Windows-vs-the-world festivity (as occurred with one source tarball
> > recently which had a directory named "AUX").
> >
> >    Even with that potential hassle, unification is the correct choice.
> >
> 
> Just for kicks, after reading this post, I did `touch foo.lnk' and have
> a circular reference to foo.lnk.  The directory listing actually shows
> the filename as foo.lnk.
> 
> I then decided to `cat << EOF > abc.lnk' and actually put data in the
> file. This time the listing doesn't show a circular reference and cat
> abc.lnk gives me the contents of the file.
> 

I then said, "Hmm... What'll happen if I `ln -s foo.lnk bar.lnk'?"  So
I, did just that and the listing show bar -> foo.lnk.  I was hoping to
see bar.lnk in the listing.  Both `cat bar' and `cat bar.lnk' give the
contents of foo.lnk.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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