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 |
Message-ID: | <39FF8704.4EA1E00A@ece.gatech.edu> |
Date: | Tue, 31 Oct 2000 21:59:16 -0500 |
From: | "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> |
X-Mailer: | Mozilla 4.75 [en] (WinNT; U) |
X-Accept-Language: | en |
MIME-Version: | 1.0 |
To: | cygwin AT sources DOT redhat DOT com |
Subject: | Re: sh-utils: need interface to realpath() |
References: | <39FB2970 DOT 6B92D09C AT ece DOT gatech DOT edu> <200010312126 DOT e9VLQ6P03421 AT stay DOT intouchsys DOT com> <20001031163936 DOT A29897 AT redhat DOT com> |
Christopher Faylor wrote: > > 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. I would not have even suggested it, unless I had gone and tested it myself to verify that YES, it does translate symbolic links. I did this BEFORE recommending its use for this purpose. --Chuck -- 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 |