X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4D27316D.7070009@redhat.com> Date: Fri, 07 Jan 2011 08:29:49 -0700 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Please don't resolve native symbolic links in cygwin_conv_path References: In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE58AED244ACE0B43ABE779DD" X-IsSubscribed: yes 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 --------------enigE58AED244ACE0B43ABE779DD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 01/06/2011 06:39 PM, Daniel Colascione wrote: > If a POSIX path supplied to cygwin_conv_path ends in a symbolic link, > the returned path refers to the target of that link. Normally, that's > a good thing because native programs can't understand Cygwin links. > But this behavior is unwanted when we're looking at a *native* > symbolic link that all programs can understand. It's needlessly > specific and rather surprising, and is causing trouble with a program > I'm writing that manipulates native symbolic links. Is this something where we should add a new CCP_ flag to cygwin_conv_path's what argument that allows the user the choice between following or stopping at native symlinks? --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enigE58AED244ACE0B43ABE779DD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNJzFtAAoJEKeha0olJ0Nqa4YIAJRxSo46jnAnm2O7Ox4153f8 tuHQAicug9vPUh67EG+dWTFGwXsA1o3cYx0NFTabJOykJUurb/sRbJ5/cPZsX+J+ TNUlPFeXQho3BFX9xho/Ijhaug0qY3X7l0FflYS8R+XybfX7KLbvQ1l8sP95gGOX 7bD5mhBdYdsTDbHXLNxAi4TRhvxpDgvAcINfldMfiFrxmc323tvuAoSv/4wWQ/H2 5tXvJJRF/HEfyFJ5RD9NBQiKxtC+sTUidUIkgFfZdAE7/2K80oBQlLTUrnk/U7me 196kqM2QcWte00V/+Crxf8ZUYmPm5Ms+01PHIsfrvCy0lVJvnALy+FgrkIhRdUM= =jUyx -----END PGP SIGNATURE----- --------------enigE58AED244ACE0B43ABE779DD--