bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 13/19] * lib/openat-die.c (openat_save_fail): Modernize comment.


From: Paul Eggert
Subject: [PATCH 13/19] * lib/openat-die.c (openat_save_fail): Modernize comment.
Date: Sun, 10 Jul 2011 22:26:06 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10

---
 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  <address@hidden>
 
+       * 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]