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

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
Mime-Version: 1.0
Date: Mon, 6 Jan 2003 00:47:06 -0800 (PST)
From: Elfyn McBratney <elfyn-cygwin AT sickpuppy DOT co DOT uk>
To: cygwin AT cygwin DOT com
Subject: RE: Repost, different list...File::Spec, Cygwin, Syntactic vs.
Semantic path analysis
Reply-To: cygwin AT cygwin DOT com
X-Originating-Ip: [195.92.67.76]
Message-Id: <20030106084706.5D3194666@sitemail.everyone.net>

------------=_1041842826-22204-1
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

> 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.

And thats just what I meant to end with before hitting that send button. *Slap*

Elfyn
elfyn AT exposure DOT org DOT uk


--- message from Robert Collins <rbcollins AT cygwin DOT com> attached:

_____________________________________________________________
www.smokeJet.com - Free UK Internet Services

_____________________________________________________________
Select your own custom email address for FREE! Get you AT yourchoice DOT com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag

------------=_1041842826-22204-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: binary

Received: from sources.redhat.com (unknown [209.249.29.67])
	by imta07.mta.everyone.net (Postfix) with SMTP id E59898A068
	for <elfyn-cygwin AT sickpuppy DOT co DOT uk>; Mon,  6 Jan 2003 00:37:13 -0800 (PST)
Received: (qmail 3562 invoked by alias); 6 Jan 2003 08:36:58 -0000
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-elfyn-cygwin=sickpuppy DOT co DOT uk AT cygwin DOT com>
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
Received: (qmail 3549 invoked from network); 6 Jan 2003 08:36:56 -0000
Received: from unknown (HELO mta07ps.bigpond.com) (144.135.25.132)
  by 209.249.29.67 with SMTP; 6 Jan 2003 08:36:56 -0000
Received: from [192.168.0.9] ([144.135.25.87]) by
          mta07ps.bigpond.com (Netscape Messaging Server 4.15 mta07ps Jul
          16 2002 22:47:55) with SMTP id H8AAL700.9CD; Mon, 6 Jan 2003
          18:36:43 +1000 
Received: from CPE-203-51-6-111.nsw.bigpond.net.au ([203.51.6.111]) by psmam07.mailsvc.email.bigpond.com(MailRouter V3.0n 125/16265949); 06 Jan 2003 18:36:43
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 DOT 4C1334385 AT sitemail DOT everyone DOT net>
References: <20030106083008 DOT 4C1334385 AT sitemail DOT everyone DOT net>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Wskmz4RO/LFowj9R3kiq"
Organization: 
Message-Id: <1041842190 DOT 31517 DOT 16 DOT camel AT 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--



------------=_1041842826-22204-1
Content-Type: text/plain; charset=us-ascii

--
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/
------------=_1041842826-22204-1--

- Raw text -


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