Re: [AD] Broken behaviour of al_findfirst.

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


On Monday 21 November 2005 16:11, Vincent Penecherc'h wrote:
> Better I think (IIRC, I'd suggested it before, I'm unsure) is to
> add a parameter to the thing:
>
> AL_FUNC(int, al_findfirst, (AL_CONST char *pattern, struct al_ffblk
> *info, int needed_attrib, int excluded_attrib));
>
> so the behavior is obvious.

I think people should just pass FA_ALL for the flags and not think about it ;)
Then again, I never use Allegro's file function routines myself (using 
opendir()/readdir() instead)...

Evert




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