RE: [AD] [TODO] About findfirst

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


At 14:09 13/08/01 +0100, Vincent Penquerc'h wrote:
>> How useful would it be to have Allegro provide a portable equivalent to
>> find_*? I mean, how often would these functions actually be used?
>> Speaking for myself, I probably wouldn't have much use for such functions
>
>To find installed plugins, save game files ....

Ok, granted, I'd probably find a use for file_exists()

>> and if I did, I'd use the POSIX opendir()/readdir() functions, 
>> not whatever
>> is provided by Allegro.
>
>I was tempted to answer opendir and friends as an alternative for
>finfirst/findnext, since it is standard (POSIX), but I checked on
>MSDN and ((not) surprisingly) MSVC does not have them :)

Well, that's naturally true. Then again, all ports of gcc I'm aware of do
have them and personally that's good enough for me (although I quite
realize it isn't good enough for everyone).



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