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=bKk7C1G4u5ENeGgJQtkz6VpU4u7WO3m2HmpRNkVduwCBjR0J8eozJ /ZaR7h2JDcI5fJ0eJ3xI4lLAGCJGeLXeXGMcbtWc/iPGS4oah2Owt+ur/9lVmBXR ZsExS2PDxyU2DuOEh4jJdx7HvZawqMV6jFKLKLcC3JuIj1ZHbriNpU= 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=ZyQ4FWZM3OQ5fpu1nrQrVXqEx5M=; b=qW5fLqc4Re076FTdS10LkIcW3TRm KasPr1UDrq7ApCqecTv3feyTmiy+MAW6NiwW3Qxo0fp7AJUPonycbLcL5gEwmgPU 8N7jlkCOnVKoOfwQadp6CqyOKoVO1IQmVuaw2MLtnahnlJndx6ZeEAVK2HQfCJJ3 0jBSbgWfG20O6aE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 8 Oct 2014 14:54:57 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: cygport dropping *.exe links Message-ID: <20141008125457.GE29235@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <53EDEE67 DOT 6070501 AT gmail DOT com> <53EE1D70 DOT 6080808 AT gmail DOT com> <20140815151619 DOT GK28562 AT calimero DOT vinschen DOT de> <54223951 DOT 3040801 AT redhat DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KuLpqunXa7jZSBt+" Content-Disposition: inline In-Reply-To: <54223951.3040801@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) --KuLpqunXa7jZSBt+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sep 23 21:24, Eric Blake wrote: > On 08/15/2014 09:16 AM, Corinna Vinschen wrote: >=20 > Sorry for taking more than a month to get to the bottom of this one. > But I have good news: >=20 > >> $ touch a.exe > >> $ ln -s a.exe b.exe > >> $ ls -l > >> total 1 > >> -rw-r--r-- 1 marco Administrators 0 Aug 15 16:41 a.exe > >> lrwxrwxrwx 1 marco Administrators 5 Aug 15 16:41 b.exe -> a.exe > >> > >> $ mv b.exe b > >> $ ls -l > >> total 0 > >> -rw-r--r-- 1 marco Administrators 0 Aug 15 16:41 a.exe > >=20 > > Looks like a bug in coreutils 8.23. This works fine in coreutils-8.15. >=20 > Actually, this was an intentional upstream change made by coreutils > 8.16, but which has a negative effect on cygwin .exe magic. The real > reason for the change is this upstream testcase: >=20 > $ ln -s nowhere a > $ ln a b > $ mv a b > $ ls [ab] > b >=20 > In coreutils 8.15, this mistakenly errored out instead of deleting 'a'. > But the upstream fix for this needs additional cygwin magic to realize > that when 'b' and 'b.exe' are both symlinks and have the same inode, > then it is the same as a case change, and NOT a case of hard link > renames. I'm cooking up the patch now. Seems to work fine in 8.23-3. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --KuLpqunXa7jZSBt+ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUNTQhAAoJEPU2Bp2uRE+gedQQAI4d257dVmGvlokJ+JkxCrBK YTCSmp09lY8bT0c7LkL2yJVjd4YDKc4qBcDe9EzMi56FiYHWBWahKGz0AFMr6oS0 4r8Ah1/7XAtJJzV08JdELRkRTZGjNvYN4RGxCl/lUBF1Jla1+mCrzO7NRYSFUrqQ WtzpXCinblDO20HWW3NArkhPvqPiq0+N7BDN0wiDdRuwiVQqeZA0tkxcXFqYiOLe oTfi0GuTKv1PN2OrXol2vYqFbsIF6jENod4LfTXkfTRavSsF7F2AM6PK1elcq00h TLL0I2UzpXRr4/WXVj5uoPw9W+Ufm31juzjoxjf/LvUnprPhLXs4kss3kOWV4IPS WrWTtKRDTlxQyFtJml0cKjkiSG2B/b/1YFdUGHYzOUNiLZPiWa9H99iwjMshPl65 YgyO//Ha4DrSuuNbI9r8CMnsuU4EsXOC3pO9Ulaf5cOtWglQtMIX9uwEAvrX5UL4 AyJ1wZ1IIM8pUT1p5VliwUZkjvjH8rYCPhmPNJ53oG5OKsvUx90fiq3erRslQQsf kVwHLunNFs1RRKj+pyE2/N3Lj3tvgxxb4OvNh21Sy5Q/Jf2PbyGnFqke/SeH0S6S 2t9/O7ceaziNsOTI9jb5V0bsNsdaB8kfEefCLWsCNueTSQ/SqD0ETJte7wxP/l49 2n87Oj680STc7bKAR9MN =muTw -----END PGP SIGNATURE----- --KuLpqunXa7jZSBt+--