Propagate intprops.h comment fixes to mktime.c and strftime.c.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Mar 2005 18:08:56 +0000 (18:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 26 Mar 2005 18:08:56 +0000 (18:08 +0000)
lib/ChangeLog
lib/mktime.c
lib/strftime.c

index 57e2747e8ddee1c08170f15dc847eaa93caa9e95..29d8e08e521b1c1bee8dcee694f76cc170be23c3 100644 (file)
@@ -3,6 +3,7 @@
        * intprops.h (INT_STRLEN_BOUND, INT_BUFSIZE_BOUND):
        "one's complement" -> "ones' complement" in comment, as per Knuth.
        "value of type" -> "type or expression" in comment.
+       * mktime.c, strftime.c: Propagate intprops.h comment nits.
 
 2005-03-26  Jim Meyering  <jim@meyering.net>
 
index 300607c4ba8343885582f71beef004926397cbe3..916bdbd3e988c41f0eff6c357a77cde977d62fbc 100644 (file)
@@ -68,9 +68,9 @@
    an integer.  */
 #define TYPE_IS_INTEGER(t) ((t) 1.5 == 1)
 
-/* True if negative values of the signed integer type T use twos
-   complement, ones complement, or signed magnitude representation,
-   respectively.  Much GNU code assumes twos complement, but some
+/* True if negative values of the signed integer type T use two's
+   complement, ones' complement, or signed magnitude representation,
+   respectively.  Much GNU code assumes two's complement, but some
    people like to be portable to all possible C hosts.  */
 #define TYPE_TWOS_COMPLEMENT(t) ((t) ~ (t) 0 == (t) -1)
 #define TYPE_ONES_COMPLEMENT(t) ((t) ~ (t) 0 == 0)
index 71052daeb66beb95a0506e4d37901a13ee2df64c..c50996efbdf568d5bf021a6eed8cc105d8735201 100644 (file)
@@ -120,7 +120,7 @@ extern char *tzname[];
    ? (a) >> (b)                \
    : (a) / (1 << (b)) - ((a) % (1 << (b)) < 0))
 
-/* Bound on length of the string representing an integer value or type T.
+/* Bound on length of the string representing an integer type or expression T.
    Subtract 1 for the sign bit if t is signed; log10 (2.0) < 146/485;
    add 1 for integer division truncation; add 1 more for a minus sign
    if needed.  */