This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Repost, different list...File::Spec, Cygwin, Syntactic vs. Semantic path analysis


> 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@exposure.org.uk


--- message from Robert Collins <rbcollins@cygwin.com> attached:

_____________________________________________________________
www.smokeJet.com - Free UK Internet Services

_____________________________________________________________
Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
--- Begin Message ---
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
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part

--- End Message ---
--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]