Re: [AD] Broken behaviour of al_findfirst. |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Sat, 2005-11-19 at 17:50 +0100, Grzegorz Adam Hankiewicz wrote:
> According to http://www.allegro.cc/forums/view_thread.php?_id=530017
> the example in the documentation of al_findfirst never finds pcx
> files. It does for me under linux. Is this a bug in the (presumably)
> windows code? Or is it a bug in the linux code?
>
Under unix, a .pcx file normally has no flags set, so it correctly is
returned.
Under windows, I think it always has the FA_ARCH flag set, which does
not exist (to my knowledge) under unix. No idea what the flag is for..
So, from what I see, no bug in either code or docs, just it would be a
better example if it would show how to return files with any flag set,
since that's what a user normally wants.
--
Elias Pschernig