summaryrefslogtreecommitdiff
path: root/lib/strtol.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-05-02 04:28:20 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-05-02 04:28:20 +0000
commitecf466971422be32abdc137c2262d0216d161ab2 (patch)
tree1ca6df0fd3ace15edd1b2c6259ca5b12a9de7173 /lib/strtol.c
parente9d60320abd1c7552c2446c61434d3057ce05ba9 (diff)
downloadcoreutils-ecf466971422be32abdc137c2262d0216d161ab2.tar.xz
Sync from gnulib.
Diffstat (limited to 'lib/strtol.c')
-rw-r--r--lib/strtol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/strtol.c b/lib/strtol.c
index eed62c4a5..25e2e4d43 100644
--- a/lib/strtol.c
+++ b/lib/strtol.c
@@ -127,9 +127,9 @@ extern int errno;
/* The extra casts in the following macros work around compiler bugs,
e.g., in Cray C 5.0.3.0. */
-/* 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)