Please don't resolve native symbolic links in cygwin_conv_path
Eric Blake
eblake@redhat.com
Fri Jan 7 20:06:00 GMT 2011
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?
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20110107/95be83d7/attachment.sig>
More information about the Cygwin
mailing list