Re: [AD] SF.net SVN: alleg:[11071] allegro/branches/4.9/src/path.c |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] SF.net SVN: alleg:[11071] allegro/branches/4.9/src/path.c
- From: Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>
- Date: Sun, 12 Oct 2008 12:44:35 -0600
On Sunday 12 October 2008, Milan Mimica wrote:
> 2008/10/12 Milan Mimica <milan.mimica@xxxxxxxxxx>:
> > With my changes:
> >
> > C:\cygwin\usr\src\4.9\examples\Debug>ex_path.exe C:\cygwin\bin\bash
> > dyn: drive="C:", file="bash"
> > sta: drive="C:", file="bash"
> > tostring: 'C://cygwin/bin/bash'
>
> Hm, there is a side effect. Isn't "//" supposed to be just "/"?
Yeah, thats due to the fact that its an absolute path, the tostring function
needs to be told that windows paths don't need the first slash.. Though it was
fine at one point.
> --
> Milan Mimica
> http://sparklet.sf.net
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx