This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: sh-utils: need interface to realpath()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]