[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] valloc()?
From: |
Derek Price |
Subject: |
Re: [bug-gnulib] valloc()? |
Date: |
Thu, 03 Mar 2005 15:54:08 -0500 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bruno Haible wrote:
| 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.
Good point. I'll concede that.
Regards,
Derek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCJ3lwLD1OTBfyMaQRAks/AJwMOHm3oSDKrg/lvQ13Y6Urwu4C+QCg6No/
a6xUjZzVmVfqLKmIGam5Qso=
=MgCn
-----END PGP SIGNATURE-----
- 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, 2005/03/03
- Re: [bug-gnulib] valloc()?,
Derek Price <=
- 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