delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/07/10:30:04

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 <eblake AT redhat DOT com>
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: <AANLkTi=98+M5sAsGp4vT09UN9uisqp0M=mgJi9WcSObG AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTi=98+M5sAsGp4vT09UN9uisqp0M=mgJi9WcSObG@mail.gmail.com>
OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg
X-IsSubscribed: yes
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

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

- Raw text -


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