Derek Price wrote:
> It could print the error message with error (0, errno, ...) and then
> return NULL.  The caller could then decide if that error should be
> fatal or not, as I presume they might wish to if they are calling
> pagealign_alloc() as opposed to pagealign_xalloc().

Maybe... but it makes things more complicated for the caller. And if this
error occurs, it's a problem in the environment, not in the program's data;
and since it occurs upon the first call to pagealign_alloc, you can assume
that the program does not have sensitive data to save.

Bruno



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

Reply via email to