delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/06/03:37:11

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: cygwin AT cygwin DOT com
Cc: LA Walsh <law AT tlinx DOT org>
In-Reply-To: <20030106083008.4C1334385@sitemail.everyone.net>
References: <20030106083008 DOT 4C1334385 AT sitemail DOT everyone DOT net>
Organization:
Message-Id: <1041842190.31517.16.camel@lifelesslap>
Mime-Version: 1.0
Date: 06 Jan 2003 19:36:30 +1100

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

On Mon, 2003-01-06 at 19:30, Elfyn McBratney wrote:

> Although the win32 api supports both one takes more work as paths
> containing forward-slashes are converted to back-slashes*. I know this
> is being petty but if different style paths cause problems surely it
> would make sense to follow the standard the OS follows?

Right, so:
Perl for Cygwin uses "/"
Perl for win32 uses "\" and ":".

Seems pretty straight forward to me.

Cygwin may be 'just a partial posix layer', but if you are compiling for
it, you should use "/" delimited paths.

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

--=-Wskmz4RO/LFowj9R3kiq
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+GUAOI5+kQ8LJcoIRAsRjAJ0WS7/MUVZGMCeQwQczrC3RIcJrKwCdHXHP
pCDI/u7iwjGAf4FN+mgq3LI=
=fDWE
-----END PGP SIGNATURE-----

--=-Wskmz4RO/LFowj9R3kiq--

- Raw text -


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