Re: [AD] [4.2] allegro and mkstemp

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


On Thursday 14 December 2006 1:00 am, Peter Wang wrote:
> On 2006-12-07, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> > Yes, we can draw the line at most of what Qt includes ;) Allegro already
> > has, and needs its own platform independant file io api, and a single
> > extra function to grab a few specific directories is hardly a problem.
> >
> > > > > > http://www.allegro.cc/forums/thread/588910/633332#target
>
> Since it's been clarified that the problem crops up due to makeshift
> implementations of tempnam in the tools, I guess we do need a tempnam in
>
> Allegro.  In regards to your original question:
> > Can I just add the "get_dir" hook to the end of the system vtable,
>
> Yes, you can add a hook to the system driver vtable, if necessary.

Would it also be allright to add the enum that goes along with it? 
AL_TEMP_DIR, AL_USER_DATA, etc. and an external api al_get_path as well as 
al_mkstemp?

Thanks.

> Peter
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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