Derek Price wrote:
> Should this error still be exiting (EXIT_FAILURE) when this function
> is defined to return NULL on failure?

In this case the error is not "memory exhausted", it is "cannot open
/dev/zero". This can happen for example if someone is working in a chroot
environment that is incorrectly set up. I think a clear error message is
good in this case. But I agree it's hard to say in advance which behaviour
is better.

Bruno



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

Reply via email to