delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/11/11:17:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
MIME-Version: 1.0
Subject: RE: "realpath" behavior
Date: Tue, 11 Feb 2003 11:13:06 -0500
Message-ID: <3D848382FB72E249812901444C6BDB1DE4DD17@exchange.timesys.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Robb, Sam" <sam DOT robb AT timesys DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h1BGH8j26951

> On Tue, Feb 11, 2003 at 12:08:46AM -0500, Robb, Sam wrote:
> > Looking for someone to confirm if this is expected 
> behavior, or a bug:
> > 
> > With standard mount points:
> > 
> >   c:\cygwin\bin on /usr/bin type system (binmode)
> >   c:\cygwin\lib on /usr/lib type system (binmode)
> > 
> >   * Calling realpath() to resolve "/bin" results in "/usr/bin".
> >   * Likewise, calling realpath() to resolve "/lib" results 
> in "/usr/lib".
> > 
> > If anything, I'd expect the opposite behavior - ie, 
> realpath("/usr/bin")
> > to return "/bin", etc.
> 
> Wrong mailing list.  Try cygwin AT cygwin DOT com.

My apologies.  It was related to a porting issue, so I defaulted
to cygwin-apps.

That said - the question remains: is this a bug, or a valid (but
unexpected) implementation of realpath?

-Samrobb

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019