]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(ISDIGIT): Comment fix.
authorJim Meyering <jim@meyering.net>
Wed, 16 Jan 2002 22:36:52 +0000 (22:36 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 16 Jan 2002 22:36:52 +0000 (22:36 +0000)
lib/strverscmp.c
lib/userspec.c

index c920bd78b449ca5dc092f538c286469b665804fb..5e5086050911d29832b804ebb84ae69b70f265e1 100644 (file)
    - 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
index 3e67b1b56305b8269a4c87074680ab3c7be8e358..e5d4c60eab990efcbdaa8afaad016e763b0a59eb 100644 (file)
@@ -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