emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs' turn: remove useless if-before-free tests


From: Richard M Stallman
Subject: Re: emacs' turn: remove useless if-before-free tests
Date: Mon, 02 Jun 2008 12:30:53 -0400

    IIUC, only when the SIZE argument is 0.  I think many programmers have
    never cared about the NULL-check of the return value of xmalloc where
    they are sure that its argument is positive.  Also we could make
    xmalloc to return a non-NULL value for the case SIZE==0.

Maybe we should make xmalloc give an error when the size is 0.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]