delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/22:47:26

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
Subject: RE: Repost, different list...File::Spec, cygwin, Syntactic vs.
Semantic path analysis
From: Robert Collins <rbcollins AT cygwin DOT com>
To: "linda w (cyg)" <cygwin AT tlinx DOT org>
Cc: cygwin AT cygwin DOT com, perl5-porters AT perl DOT org
In-Reply-To: <002d01c2b785$6b5681c0$1403a8c0@sc.tlinx.org>
References: <002d01c2b785$6b5681c0$1403a8c0 AT sc DOT tlinx DOT org>
Organization:
Message-Id: <1042079397.1908.215.camel@lifelesslap>
Mime-Version: 1.0
Date: 09 Jan 2003 13:29:58 +1100

--=-YaqwWEqVPLV5RHMhnPAy
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Sorry for butting in again, but you have a factual error that needs
highlighting.

On Thu, 2003-01-09 at 13:18, linda w (cyg) wrote:

> > Understanding that double slashes at the
> > beginning of a path are special is good sense for any=20
> > portable program.
> ---
> 	There you go again, making relative assertions about "good/bad"
> again.  It's common practice to define a $(ROOT)/foobar underwhich to
> build or install a program.  It is common to have ROOT=3D/ when you want
> to install it on a live machine.  It is *expected* that double slashes
> "//" will be treated as "/".  Thinking "//" is special only shows the
> corrupting influence Win32 has had on your thinking.  If you grew up
> on unix, you'd know that "//" =3D "/".

Whoa. POSIX uses // as a imeplementation specific prefix for network
paths. The posix 'dirname' algorithm EXPLICITLY leaves the use of // as
implementation specific. Go check it up you want proof.

Growing up on unix does NOT mean // =3D=3D /. If you assume that *anywhere*
you will limit your programs portability (specifically, you are
IMMEDIATELY non-posix).


> Dogma is an anesthetization of "critical thinking".

Just curious, if that is the case, why do you make vehement assertions
of your own?

Rob
--=20
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

--=-YaqwWEqVPLV5RHMhnPAy
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+HN6lI5+kQ8LJcoIRAgREAKDUikDEktr9W2A9jEb8501xEWQ46gCfQ3jY
MwlHECRe6co+p4psTd+s/aQ=
=pvJx
-----END PGP SIGNATURE-----

--=-YaqwWEqVPLV5RHMhnPAy--

- Raw text -


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