--- ChangeLog | 2 ++ lib/openat-die.c | 2 +- 2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog index c16d917..fff4c98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-07-10 Paul Eggert <egg...@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. diff --git a/lib/openat-die.c b/lib/openat-die.c index ea36dda..0d0643b 100644 --- a/lib/openat-die.c +++ b/lib/openat-die.c @@ -37,7 +37,7 @@ openat_save_fail (int errnum) 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). */ -- 1.7.4.4