Re: [AD] About findfirst (2)

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


> 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).

Because of its semantics: file_exists() supports the attributes of
files, therefore it needs the attribute emulation for POSIX that
al_findfirst() provides.

---
Eric Botcazou
ebotcazou@xxxxxxxxxx



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