Re: [AD] possible bug in filetest.

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


>old_errno = *allegro_errno; /* save state */

[...]


>errno = *allegro_errno = old_errno; /* restore old state */

Sorry, but how does that correspond to the behavior of 'for_each_file' described as:
"If an error occurs an error code will be stored in errno"
if al_findfirst encounters sets errno and there was no initial error (the normal case)?
/C




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