| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| Date: | Tue, 31 Oct 2000 16:39:36 -0500 |
| From: | Christopher Faylor <cgf AT redhat DOT com> |
| To: | cygwin AT sources DOT redhat DOT com |
| Subject: | Re: sh-utils: need interface to realpath() |
| Message-ID: | <20001031163936.A29897@redhat.com> |
| Reply-To: | cygwin AT sources DOT redhat DOT com |
| Mail-Followup-To: | cygwin AT sources DOT redhat DOT com |
| References: | <39FB2970 DOT 6B92D09C AT ece DOT gatech DOT edu> <200010312126 DOT e9VLQ6P03421 AT stay DOT intouchsys DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.3.6i |
| In-Reply-To: | <200010312126.e9VLQ6P03421@stay.intouchsys.com>; from gildea@intouchsys.com on Tue, Oct 31, 2000 at 04:26:01PM -0500 |
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 AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |