bug-gnulib
[Top][All Lists]
Advanced

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

[PATCH] time_rz: fix comment about tzalloc


From: Paul Eggert
Subject: [PATCH] time_rz: fix comment about tzalloc
Date: Tue, 20 Oct 2015 23:17:41 -0700

* lib/time_rz.c (tzalloc): Fix comment.
---
 ChangeLog     | 5 +++++
 lib/time_rz.c | 3 +--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a17429b..584df59 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-10-20  Paul Eggert  <address@hidden>
+
+       time_rz: fix comment about tzalloc
+       * lib/time_rz.c (tzalloc): Fix comment.
+
 2015-10-18  Paul Eggert  <address@hidden>
 
        stdalign: work around pre-4.9 GCC x86 bug
diff --git a/lib/time_rz.c b/lib/time_rz.c
index 8a0cbb2..f9a07fd 100644
--- a/lib/time_rz.c
+++ b/lib/time_rz.c
@@ -90,8 +90,7 @@ extend_abbrs (char *abbrs, char const *abbr, size_t abbr_size)
 }
 
 /* Return a newly allocated time zone for NAME, or NULL on failure.
-   As a special case, return a nonzero constant for wall clock time, a
-   constant that survives freeing.  */
+   A null NAME stands for wall clock time (which is like unset TZ).  */
 timezone_t
 tzalloc (char const *name)
 {
-- 
2.1.0




reply via email to

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