Mercurial > hg > octave-lojdl > gnulib-hg
changeset 15403:73b69bb944ff
* lib/openat-die.c (openat_save_fail): Modernize comment.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 12 Jul 2011 01:08:59 -0700 |
parents | ef1282405cf0 |
children | 8b6031ce6910 |
files | ChangeLog lib/openat-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/openat-die.c (openat_save_fail): Modernize comment. + * lib/xalloc-die.c (xalloc_die): Modernize comment. * lib/glthread/thread.h: Modernize comment.
--- a/lib/openat-die.c +++ b/lib/openat-die.c @@ -37,7 +37,7 @@ error (exit_failure, errnum, _("unable to record current working directory")); #endif - /* The `noreturn' attribute cannot be applied to error, since it returns + /* _Noreturn cannot be applied to error, since it returns when its first argument is 0. To help compilers understand that this function does not return, call abort. Also, the abort is a safety feature if exit_failure is 0 (which shouldn't happen). */