From: Paul Eggert Date: Tue, 12 Jul 2011 08:08:59 +0000 (-0700) Subject: * lib/openat-die.c (openat_save_fail): Modernize comment. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e2a6b1f1f59b920775fdc38b81d1a389a5089ed;p=pspp * lib/openat-die.c (openat_save_fail): Modernize comment. --- 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). */