Re: [AD] About findfirst (2)

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



On Sun, 26 Aug 2001, Eric Botcazou wrote:

> - _al_file_exists() has gone away: for each port, it was implemented by
> using the platform-dependent version of findfirst(). Now that there is an
> unified version of this routine [the new al_findfirst()], file_exists()
> directly calls it.

Why don't use stat() to implement file_exists()? At least on Unix/POSIX as
findfirst() is also emulated using stat() (and open/readdir() of course).

Have a nice day.

Stepan Roh



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