Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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