X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fstrverscmp.c;h=5361a5cc507e9f0cafa058a54d7ef928b6d5bab0;hb=affc2cf6fe78a8d43aba4d07f1ec010e2172ffa8;hp=6276bca0fa9c07547a31b0e8415c53d5c3fda8f4;hpb=222b0486b7db1b09293e05512873d633440efcb3;p=gnulib.git diff --git a/lib/strverscmp.c b/lib/strverscmp.c index 6276bca0f..5361a5cc5 100644 --- a/lib/strverscmp.c +++ b/lib/strverscmp.c @@ -37,11 +37,11 @@ /* ISDIGIT differs from isdigit, as follows: - - 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. + - Its arg may be any int or unsigned int; it need not be an unsigned char + or EOF. - It's typically faster. POSIX says that only '0' through '9' are digits. Prefer ISDIGIT to - ISDIGIT_LOCALE unless it's important to use the locale's definition + isdigit 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 int) (c) - '0' <= 9)