delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/29/08:39:22

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
Date: Thu, 29 Apr 2004 14:39:01 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: stat()/lstat() problem (?)
Message-ID: <20040429123901.GF17535@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <17F5FEED8AA6D41185B100508BAF1B0608E3EEC1 AT meteor DOT tls DOT fr DOT astrium DOT corp> <408F78F9 DOT 8060306 AT yahoo DOT fr>
Mime-Version: 1.0
In-Reply-To: <408F78F9.8060306@yahoo.fr>
User-Agent: Mutt/1.4.2i

On Apr 28 11:27, bertrand marquis wrote:
> ZXPLESPAC001, Ext a ?crit:
> >The question is:
> >- is the behavior on Linux/Solaris normal ? I fact there ain't a '//bin'
> >only a '/bin',
> >but even all the shells treat them as representing the same path (BTW 'cd
> >//bin' on 
> >cygwin/bash doesn't work ...)
> >
> this is a normal error under cygwin, you should look at the FAQ: // 
> refers to network places
> 
> >- is it an error in cygwin ? Did all pathes (oops is my english very clear
> >?) have to
> >treat dupplicated '/' as single '/' ? Is the notion of a pathname 
> >normalized
> >somewhere
> >(maybe posix ?) ?
> >
> you should remove all // under cygwin to avoid those errors
> see:
> http://cygwin.com/faq/faq_toc.html#TOC34

This is backed by SUSv3, btw.  Two leading slashes are allowed to have a
implementation defined meaning (SMB network paths in case of Windows).

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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