|
From: | Anand Babu |
Subject: | Re: [llnl-devel] Re: [Freeipmi-devel] xmalloc |
Date: | Tue, 30 Dec 2003 17:02:50 -0800 |
User-agent: | Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
,----[ Jim Garlick <address@hidden> ] | I agree with Al. What if you are running as a daemon and stderr is | closed? Or what if the application wants to clean up before exiting? | Better to return an error and let the application handle it IMHO. `---- Makes sense. I will replace xmalloc with XMALLOC which will check for malloc return value and returns appropriately. Thanks -- Anand Babu Free as in Freedom <www.gnu.org>
[Prev in Thread] | Current Thread | [Next in Thread] |