From 5e2a6b1f1f59b920775fdc38b81d1a389a5089ed Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 12 Jul 2011 01:08:59 -0700 Subject: [PATCH] * lib/openat-die.c (openat_save_fail): Modernize comment. --- ChangeLog | 2 ++ lib/openat-die.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9127980f52..1ad494fd39 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-07-12 Paul Eggert + * 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 ea36dda891..0d0643b4f9 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). */ -- 2.30.2