summaryrefslogtreecommitdiff
path: root/lib/strverscmp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-01-16 22:36:52 +0000
committerJim Meyering <jim@meyering.net>2002-01-16 22:36:52 +0000
commit62066676be9abf722e5406cd78115e5027239961 (patch)
treee9dbac79dd41cd21c76725f37d2dba16f648f021 /lib/strverscmp.c
parent4b4109233097408185555b472eb302c8d3da33b9 (diff)
downloadgnulib-62066676be9abf722e5406cd78115e5027239961.tar.gz
(ISDIGIT): Comment fix.
Diffstat (limited to 'lib/strverscmp.c')
-rw-r--r--lib/strverscmp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/strverscmp.c b/lib/strverscmp.c
index c920bd78b4..5e50860509 100644
--- a/lib/strverscmp.c
+++ b/lib/strverscmp.c
@@ -41,10 +41,9 @@
- Its arg may be any int or unsigned int; it need not be an unsigned char.
- It's guaranteed to evaluate its argument exactly once.
- It's typically faster.
- Posix 1003.2-1992 section 2.5.2.1 page 50 lines 1556-1558 says that
- only '0' through '9' are digits. Prefer ISDIGIT to isdigit unless
- it's important to use the locale's definition of `digit' even when the
- host does not conform to Posix. */
+ POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to
+ ISDIGIT_LOCALE unless it's important to use the locale's definition
+ of `digit' even when the host does not conform to POSIX. */
#define ISDIGIT(c) ((unsigned) (c) - '0' <= 9)
#undef __strverscmp