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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=dR8G fjaUEU92yJ8eGoatuz/X9SxLjnK8LX3GCDsnWUWGb2mD5gCQhgpnzF6GtGx3VyJt 0quUVyXqrj3yWk0EroLy3AKF0cHudqmAsWMxwE5jbG8WYB2iQOEmbugvCDYOpTGE vCB4SzaU3+9zrfv88y8Q4TgcHbyGcnPde7csXy8= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=FwAuDJZs5D vNXhnaIuSMlumXb24=; b=cqZ6y6Vky+D1U31RoOcD6Q3rTwJ3LJq5FvvVu75i1l e7DDTCzR655DF89iqlbDCoO/gaV6CtRx+FfaKt2An0LNlr+DUfRuljt9sYPOwQ73 asSvYLhy/DQkCD5h8n6dtsrSbEs0Zl6V/Z4ew8JDJ0RhjjOLqifGfxJKM9ICLNPo 0= 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=-3.1 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=rice, Blake, Rice, vince X-HELO: mx1.redhat.com Subject: Re: Native symlinks and setup.exe To: cygwin AT cygwin DOT com References: From: Eric Blake Openpgp: url=http://people.redhat.com/eblake/eblake.gpg Message-ID: <66dbf3c5-a3d4-a04a-30e8-805750f36a1f@redhat.com> Date: Tue, 4 Oct 2016 16:04:01 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="v8R5R0pBOWtNd2Ok2chi8sBBPJCTtBm9V" X-IsSubscribed: yes --v8R5R0pBOWtNd2Ok2chi8sBBPJCTtBm9V Content-Type: multipart/mixed; boundary="pEaVgDR57KRij09VHnxXf73dgDEaffslI"; protected-headers="v1" From: Eric Blake To: cygwin AT cygwin DOT com Message-ID: <66dbf3c5-a3d4-a04a-30e8-805750f36a1f AT redhat DOT com> Subject: Re: Native symlinks and setup.exe References: In-Reply-To: --pEaVgDR57KRij09VHnxXf73dgDEaffslI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/04/2016 03:53 PM, Vince Rice wrote: >>> Obviously, a political discussion is required, to decide whether it is >>> ok, as is, or if a change in package logic would have benefits. The easiest way to have the discussion would be to write a patch, instead of debating about different behaviors but then expecting others to do the work. > I don=E2=80=99t see that changing. And, as already noted, setup isn=E2=80= =99t a Cygwin program, > so it knows (and cares) nothing about cygwin environment variables. setup.exe has its own untar'ing code (it is NOT forking tar, since one of the packages setup.exe has to install is tar, and it would be a chicken-and-egg problem if setup always forked out to a tar program if it can't first untar the tarball containing tar). But while setup.exe apparently does NOT currently honor the CYGWIN environment variable with regards to how its untar'ring code should behave on symlinks, there's nothing that prevents you from writing a patch to teach it to do so, and perhaps that patch can even share some of the existing code for cygwin1.dll so that you aren't writing it from scratch. It should already be clear that code exists in setup.exe that handles symlinks in tarballs - all that this thread is complaining about is that the code doesn't do it the way that cygwin1.dll does it. But someone has to write such a patch, and preferably someone that cares enough to be bothered by the current behavior (I don't, so it won't be me writing it). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --pEaVgDR57KRij09VHnxXf73dgDEaffslI-- --v8R5R0pBOWtNd2Ok2chi8sBBPJCTtBm9V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJX9BlBAAoJEKeha0olJ0Nqzv8IAKDndvSPud+W17lbi3W5bSky 1dhtlJlx/gQYtOFMX4p2b+GUGELCTZ4jdfNP8PCSJgS5o8iefEdFelOP0mFlrS6a o47EEI/jZ2sP9AuXZEuDBeM9xJWxZpOSmL3QWMCcqYiBiAqrZErSRm07olIAvXvq 8Z5bQ4P1tp62foqy/WcmR4aFeHWU+CWsGSyHew2aAj3BUnbzBWX8hdheKkfO0R1J VgUctK/eRPyN1Y/JRig0M/kYUa3bGJH3BCqpjNJyoVVfkSxwJs0I389YmjZ8v8Vj 2rq8brjs3b4kXuKG90uNSeuLr8pjeEfUgWQO1pI3xgL0YYZt9Ta6rhxveR07jxQ= =ymsL -----END PGP SIGNATURE----- --v8R5R0pBOWtNd2Ok2chi8sBBPJCTtBm9V--