Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <39FF8704.4EA1E00A@ece.gatech.edu>
Date: Tue, 31 Oct 2000 21:59:16 -0500
From: "Charles S. Wilson" <cwilson@ece.gatech.edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin@sources.redhat.com
Subject: Re: sh-utils: need interface to realpath()
References: <39FB2970.6B92D09C@ece.gatech.edu> <200010312126.e9VLQ6P03421@stay.intouchsys.com> <20001031163936.A29897@redhat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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@sourceware.cygnus.com

