Mercurial > hg > octave-nkf > gnulib-hg
changeset 15402:ef1282405cf0
* lib/xalloc-die.c (xalloc_die): Modernize comment.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 12 Jul 2011 01:08:27 -0700 |
parents | 14b27b921897 |
children | 73b69bb944ff |
files | ChangeLog lib/xalloc-die.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-07-12 Paul Eggert <eggert@cs.ucla.edu> + * lib/xalloc-die.c (xalloc_die): Modernize comment. + * lib/glthread/thread.h: Modernize comment. obstack: use _Noreturn
--- a/lib/xalloc-die.c +++ b/lib/xalloc-die.c @@ -33,7 +33,7 @@ { error (exit_failure, 0, "%s", _("memory exhausted")); - /* The `noreturn' cannot be given to error, since it may return if + /* _Noreturn cannot be given to error, since it may return if its first argument is 0. To help compilers understand the xalloc_die does not return, call abort. Also, the abort is a safety feature if exit_failure is 0 (which shouldn't happen). */