Re: [AD] fs-hook on OS X

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


On Thursday 25 September 2008, Peter Hull wrote:
> Evert,
> Do you mean things like the use of append_filename in
> osx_sys_find_resource?

I'm betting thats what he meant. both of those functions can be removed 
because al_get_path pretty much replaces them, especially if you use the new 
al_find_resource function I recently added :)

> pete
>
> On Thu, Sep 25, 2008 at 4:07 PM, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> 
wrote:
> > On Wednesday 24 September 2008, Evert Glebbeek wrote:
> >> Doesn't build, because the old filesystem functions that were called
> >> from the OS X specific code haven't been replaced with their new
> >> counterparts. I cann probably work out how to do that by looking at
> >> the differences in the other platform specific code where similar
> >> changes have been made, but it might be better for someone who knows
> >> more about the file system (Thomas?) to make that change. That way I
> >> can possibly focus on problems with OS X rather than first trying to
> >> work out how the fs stuff works.
> >
> > I can probably grep through the OSX files to see whats up. As for how
> > fshooks works, the toplevel api is nearly identical to PACKFILEs.
> >
> >> Aside from that, I had to add #include <sys/types.h> near the top of
> >> fshook.h, otherwise off_t is not defined.
> >
> > sys/types.h is already included I thought. Guess it wasn't ::) glibc
> > probably auto includes it for me some place, which is why I didn't catch
> > it.
> >
> >> 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
> >


-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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