[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] valloc()?
From: |
Bruno Haible |
Subject: |
Re: [bug-gnulib] valloc()? |
Date: |
Thu, 3 Mar 2005 21:36:11 +0100 |
User-agent: |
KMail/1.5 |
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
- Re: [bug-gnulib] valloc()?, (continued)
- Re: [bug-gnulib] valloc()?, Derek Price, 2005/03/03
- Re: [bug-gnulib] valloc()?, Bruno Haible, 2005/03/03
- Re: [bug-gnulib] valloc()?, Derek Price, 2005/03/03
- Re: [bug-gnulib] valloc()?, Bruno Haible, 2005/03/03
- Re: [bug-gnulib] valloc()?, Derek Price, 2005/03/03
- Re: [bug-gnulib] valloc()?,
Bruno Haible <=
- Re: [bug-gnulib] valloc()?, Derek Price, 2005/03/03
- Re: [bug-gnulib] valloc()?, Derek Price, 2005/03/03
- Re: [bug-gnulib] valloc()?, Bruno Haible, 2005/03/03
- Re: [bug-gnulib] valloc()?, Derek Price, 2005/03/03
- Re: [bug-gnulib] valloc()?, Bruno Haible, 2005/03/04
- Re: [bug-gnulib] valloc()?, Derek Price, 2005/03/04