summaryrefslogtreecommitdiff
path: root/lib
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
commitd298aab8a280c69c26c7ed887c591e4a69d0595b (patch)
tree1097fe427953f5244bd89ab80ff041f5a17fba9e /lib
parent87ca587534ec1de2541d1da9e111c85810d5c469 (diff)
downloadcoreutils-d298aab8a280c69c26c7ed887c591e4a69d0595b.tar.xz
(ISDIGIT): Comment fix.
Diffstat (limited to 'lib')
-rw-r--r--lib/strverscmp.c7
-rw-r--r--lib/userspec.c7
2 files changed, 6 insertions, 8 deletions
diff --git a/lib/strverscmp.c b/lib/strverscmp.c
index c920bd78b..5e5086050 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
diff --git a/lib/userspec.c b/lib/userspec.c
index 3e67b1b56..e5d4c60ea 100644
--- a/lib/userspec.c
+++ b/lib/userspec.c
@@ -134,10 +134,9 @@ struct group *getgrgid ();
- 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)
#ifndef strdup