delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/01/15:20:50

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
Date: Thu, 1 Aug 2002 15:21:04 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bug: hard links to soft links do not work
Message-ID: <20020801192104.GA27689@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <sa0eldimogw DOT fsf AT glip DOT premonitia DOT com> <20020801182416 DOT GD26315 AT redhat DOT com> <sa03ctymnpc DOT fsf AT glip DOT premonitia DOT com>
Mime-Version: 1.0
In-Reply-To: <sa03ctymnpc.fsf@glip.premonitia.com>
User-Agent: Mutt/1.3.23.1i

On Thu, Aug 01, 2002 at 02:35:43PM -0400, Sam Steingold wrote:
>> * In message <20020801182416 DOT GD26315 AT redhat DOT com>
>> * On the subject of "Re: bug: hard links to soft links do not work"
>> * Sent on Thu, 1 Aug 2002 14:24:16 -0400
>> * Honorable Christopher Faylor <cgf AT redhat DOT com> writes:
>>
>> On Thu, Aug 01, 2002 at 02:19:11PM -0400, Sam Steingold wrote:
>> >cygwin does not handle hard and soft links together:
>> >
>> >$ echo "foo" > foo
>> >$ ln foo 1
>> >$ cat 1
>> >foo                             ; GOOD!
>> >$ ln -s 1 2
>> >$ cat 2
>> >foo                             ; GOOD!
>> >$ ln 2 3
>> >$ cat 3
>> ><some binary data instead of "foo">
>> >$
>> >
>> >I.e., hard links to soft links do not work.
>> 
>> Funny, when I try this on linux, I get:
>> 
>>   % ln 2 3
>>   ln: `2': warning: making a hard link to a symbolic link is not portable
>
>indeed - but it works on linux as expected.
>cygwin should either barf of DTRT.
>I take your reply to mean that this is not getting changed.

You can take almost any reply that I make as "Patches gratefully
accepted."

cgf

--
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