[tz] [PATCH] * asctime.c, newctime.3, newtzset.3: Don't imply ASCII is required.

Paul Eggert eggert at CS.UCLA.EDU
Sat Jun 28 21:09:32 UTC 2014


---
 asctime.c  | 2 +-
 newctime.3 | 5 ++---
 newtzset.3 | 2 +-
 3 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/asctime.c b/asctime.c
index 152b0db..e057711 100644
--- a/asctime.c
+++ b/asctime.c
@@ -55,7 +55,7 @@
 ** ??? ???-2147483648 -2147483648:-2147483648:-2147483648     -2147483648\n
 ** (two three-character abbreviations, five strings denoting integers,
 ** seven explicit spaces, two explicit colons, a newline,
-** and a trailing ASCII nul).
+** and a trailing NUL byte).
 ** The values above are for systems where an int is 32 bits and are provided
 ** as an example; the define below calculates the maximum for the system at
 ** hand.
diff --git a/newctime.3 b/newctime.3
index 1353869..3904d04 100644
--- a/newctime.3
+++ b/newctime.3
@@ -1,6 +1,6 @@
 .TH NEWCTIME 3
 .SH NAME
-asctime, ctime, difftime, gmtime, localtime, mktime \- convert date and time to ASCII
+asctime, ctime, difftime, gmtime, localtime, mktime \- convert date and time
 .SH SYNOPSIS
 .nf
 .B extern char *tzname[2];
@@ -94,8 +94,7 @@ sets the
 .BR tm_isdst 'th
 element of
 .B tzname
-to a pointer to an
-ASCII string that's the time zone abbreviation to be used with
+to a pointer to a string that's the time zone abbreviation to be used with
 .IR localtime 's
 return value.
 .PP
diff --git a/newtzset.3 b/newtzset.3
index 4af938b..e9920b6 100644
--- a/newtzset.3
+++ b/newtzset.3
@@ -88,7 +88,7 @@ ASCII minus
 .RB ( \(mi ),
 ASCII plus
 .RB ( \(pl ),
-and ASCII NUL are allowed.
+and NUL bytes are allowed.
 .TP
 .I offset
 Indicates the value one must add to the local time to arrive at
-- 
1.9.1



More information about the tz mailing list