sh-utils: need interface to realpath()

Christopher Faylor cgf@redhat.com
Tue Oct 31 13:39:00 GMT 2000


On Tue, Oct 31, 2000 at 04:26:01PM -0500, Stephen Gildea wrote:
>>   cygpath -w {cygwin-path-to-symlink}
>
>Thank you for your reply.
>
>The cygpath program does do the cygwin_conv_to_full_win32_path() part,
>but it does not do the more interesting realpath() expansion.  That is,
>it doesn't expand symlinks.

Have you looked at the source code for 'realpath()' and 
'cygwin_conv_to_full_win32_path()'.  They are almost identical, i.e.,
both should translate symbolic links.

And, guess what?  I actually tried cygpath just to verify what it does.
It does translate symolic links.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list