[M3devel] [M3commit] CVS Update: cm3
Jay
jayk123 at hotmail.com
Mon Feb 18 20:37:10 CET 2008
> But colons? Colons are not special in any way, shape, or form, on> Unix... I think "it is extremely surprising" to a Unix user if a path
Ever try putting a path with a colon into $PATH? Does it work?
Or copying a file with a colon in its name to a Windows system? Does it work?
This part could be limited to systems that have $OS == Windows_NT I guess.
As a user switching between multiple systems, this area is quite frustrating...I guess no matter what.
Sometimes one form works, sometimes another, sometimes either, often with identical meaning, but not always.
These changes, and about one more, should make building NT386GNU a fair amount easier..
Currently it is any path with a colon in the second character.
How about if that is further restricted to having a-z in the first character and/or more importantly a slash in the third character?
- Jay
> To: jkrell at elego.de> Date: Mon, 18 Feb 2008 10:55:53 -0800> From: mika at async.caltech.edu> CC: m3devel at elegosoft.com> Subject: Re: [M3devel] [M3commit] CVS Update: cm3> > Jay Krell writes:> >CVSROOT: /usr/cvs> >Changes by: jkrell at birch. 08/02/18 16:16:44> >> >Modified files:> > cm3/m3-sys/m3quake/src/: QMachine.i3 QMachine.m3 > > cm3/m3-sys/cm3/src/: M3Path.m3 > >> >Log message:> > At least for purposes of determining if Join(a,b) is b or a + slash + b,> > treat any path that starts with a forward or backward slash, or> > contains a colon as the second character, as absolute, on all platforms.> > It is ASSUMED that backslashes and colons are never used in paths> > on non-Windows systems, or at least that this interpretation is ok.> > I think people are careful not to use backslashes on Unix because> it does weird things in the shell, so "it's not surprising" if> things go bad if you use backslashes in your filenames. I know I> never have, on purpose.> > But colons? Colons are not special in any way, shape, or form, on> Unix... I think "it is extremely surprising" to a Unix user if a path> with a colon in it breaks something. > > Mika
_________________________________________________________________
Need to know the score, the latest news, or you need your Hotmail®-get your "fix".
http://www.msnmobilefix.com/Default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080218/de9238d5/attachment-0002.html>
More information about the M3devel
mailing list