Re: [AD] fs-hook on OS X

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sunday 28 September 2008, Evert Glebbeek wrote:
> On 28 Sep 2008, at 20:46, Thomas Fjellstrom wrote:
> > I should also mention, given the implementation of AL_PATH, dirs
> > need to have
> > a / appended. So the last component isn't seen as a filename. so
> > al_get_path
> > paths need to end with a /.
>
> That's ok. I expect to get the last thing in the path to be returned
> if I ask for the filename part of it, even if the last part is a
> directory. basename works the same way.

AL_PATH parses the path into the drive, path, and filename portion. its not a 
strict list of path items.

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





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/