delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/16/11:48:21

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=HvaFev5wAPtNE3KtatjagCvGWaSDITrIQRgest1fH2KovcjnIZJ67
kQpLQwFao+hdbabrqPPF1AbloAxCaakaBPYK9NlvYYN4IjAo/mpnKn6TbLFxoZ2G
k3+kAe/tZyr6UztiJKaBkerM/smaqOvBzm267IqNR2PpA6f6HhANcQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=xY9Lw7ze3qCxuP7Ssz11CCJALKY=; b=BnCZQ33LOPR7XEEwybkyZ0w1chn+
+PEvjoW0y4KkkFeZ6dE3/BPFlzH90Mk4TebP92XArOq3l6L2DFpokC+x/E/h5Rql
1DhB7zQFGBuiRKzTNiIT+v4UePfEQHXaOaNzIEhsWm9wDY8FsnY+X2omyUYNlKlt
Q/yp0i0z3blQJK0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_50,BODY_8BITS,GARBLED_BODY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 16 Apr 2014 17:47:56 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: x86_64 Cygwin 1.7.29: possible bug to trace symlink (Win7)
Message-ID: <20140416154756.GW3271@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <0BA358A6A1AD484EA0BECE9A36AA31753D6F7D00 AT rsex2 DOT realsil DOT com DOT cn> <0BA358A6A1AD484EA0BECE9A36AA31753D6FCBC2 AT rsex2 DOT realsil DOT com DOT cn> <0BA358A6A1AD484EA0BECE9A36AA31753D6FCC48 AT rsex2 DOT realsil DOT com DOT cn>
MIME-Version: 1.0
In-Reply-To: <0BA358A6A1AD484EA0BECE9A36AA31753D6FCC48@rsex2.realsil.com.cn>
User-Agent: Mutt/1.5.21 (2010-09-15)

--On39KRpqOYGa2XmA
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Apr 16 03:39, =E5=8D=9C=E5=8B=87=E5=8D=8E wrote:
> Hi Corinna,


Please don't top-post.  Thank you.


> Below is what I get:
> RS-I9E3U8R4:[~/tmp/test_symlink]>uname -a
> CYGWIN_NT-6.1 RS-I9E3U8R4 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin
> RS-I9E3U8R4:[~/tmp/test_symlink]>echo $CYGWIN
> winsymlinks:nativestrict
> RS-I9E3U8R4:[~/tmp/test_symlink]>echo test > test.txt
> RS-I9E3U8R4:[~/tmp/test_symlink]>mkdir dest
> RS-I9E3U8R4:[~/tmp/test_symlink]>cd dest
> RS-I9E3U8R4:[~/tmp/test_symlink/dest]>ln -s ../test.txt test.txt
> RS-I9E3U8R4:[~/tmp/test_symlink/dest]>cd ../
> RS-I9E3U8R4:[~/tmp/test_symlink]>mkdir src
> RS-I9E3U8R4:[~/tmp/test_symlink]>cd src
> RS-I9E3U8R4:[~/tmp/test_symlink/src]>ln -s ../dest dest
> RS-I9E3U8R4:[~/tmp/test_symlink/src]>cd ../
> RS-I9E3U8R4:[~/tmp/test_symlink]>cat src/dest/test.txt
> cat: src/dest/test.txt: No such file or directory

I can reproduce it now.  I made a mistake when creating the symlinks
the first time, which is, I created them with tcsh.  Tcsh tends to
change relative paths using ".." components to absolute paths on the
command line.  Using plain relative paths, I now see what's going on.

But it'sa tricky problem.  I don't know how to fix it yet.  I'll
have to think about it, so please be patient.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--On39KRpqOYGa2XmA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTTqYrAAoJEPU2Bp2uRE+g4GIP/0qPaRvDkqZVSkunnkPF9uV3
6ekN5jyaNyj20lQo0hQClgTDbiQJBzciPecZP1pCYv15PuVV4SEsiSmskEjORbHe
wycDSynyWeOG5Xg6BRUPjqlNKwjZfpGWa9X1DAuquPSYKo4a1maGA4r6EdECSJGg
Wf11s+8ELrcpHRXUxtqFyamlb9pKhkaiAV6hREhxN9mggDpmR5Mbo+bvLf+iubJB
dWETddjNz7nGVHFfufTPPW//0UqMa2jMBAL2et++v9hO69MyTKQ0B60cMfO87gda
MK1XMPtmodXcEs2BxO0+uSeZdjlUZ0ChtosQdvLZXnYbEW2MAeoFviCuNEdKl1bH
fi6tAOl96oXJ/8XmZ2wAd2Zr7oBWp+TzqWB5c1mUe9kPaGJCpcCCtLa+JXBaj/3H
XvN2Rghbv7/hxxDD6l+DpZKFzaQ4i7kjS4CX311Sg68Fq7rPPX26pvOqr8bol9HG
urDiwW8NbMnVm49ErUTgt1njbo8dTYTUGPQ4FMXqH0X588yzUzhAGoHHRSmw3azX
40OqGkUOmH4GY2IiSx50eAojyxa1j49qXJ9gTB5AedeJF4AEt6n/0K7coVjMHp66
9zZbjZaSVvaEurQ67t8AjyFDOWMf63yKdgbaYfMsCbJyitrQn9IssdSvx6x/rCYc
1IoWY2IYk485s5OpUySw
=WxUp
-----END PGP SIGNATURE-----

--On39KRpqOYGa2XmA--

- Raw text -


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