Paul Eggert <[EMAIL PROTECTED]> wrote:

> Thanks for the diagnosis, but the fix isn't quite right in general,
> since the C standard says memcpy can set errno as well.
> 
> I installed this patch instead, both in gnulib and coreutils.

OK, I just thought, however, that readdir itself is not required
to preserve the value of errno in case of succesful return. In general,
it seems a bad idea to check errno without knowing which call might
have changed it.

Regards,
Sergey


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to