Re: [AD] Splitting filesystem APIs

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


On 2009-04-19, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> On Sun April 19 2009, Peter Wang wrote:
> >
> > ALLEGRO_FS_ENTRY still returns stat information about both files and
> > directories.  I left out the part where you check the file criteria to
> > see if you want to load it:
> >
> >     next = al_readdir(entry);
> >     if (!next)
> > 	break;
> >     if (!al_is_file(next))
> > 	continue;
> 
> So we're back to something I chucked out ages ago? (that being a separate 
> FILE, DIR and STAT types). but you know what, I don't really care anymore. If 
> you like this sort of thing, do it. Just make sure it works ::)

Thanks.

Peter





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