summaryrefslogtreecommitdiff
path: root/lib/sig2str.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-07-06 21:51:28 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-07-06 21:51:28 +0000
commita8f0811e1e174cd6d3b5f0fef314269d000f9c4c (patch)
treee780b9545c61340cc93f33ddfbf574324f29f7ed /lib/sig2str.c
parent6125c4ee60b19d638e9a4af46fb2a6258d0e6ad3 (diff)
downloadgnulib-a8f0811e1e174cd6d3b5f0fef314269d000f9c4c.tar.gz
* lib/.cppi-disable: Add wcwidth.
* lib/fnmatch.c (ISBLANK): Remove. All uses changed to isblank. (isblank) [! (defined isblank || HAVE_DECL_ISBLANK)]: New macro. (ISGRAPH): Remove. All uses changed to isgraph. (FOLD) [!defined _LIBC]: Remove special case. * lib/getdate.y (lookup_word): Remove no-longer-needed call to islower. * lib/regext_internal.h (isblank): Depend on HAVE_DECL_ISBLANK, not HAVE_ISBLANK. * lib/strftime.c (TOLOWER, TOUPPER) [!defined _LIBC]: Remove special case. * m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Don't check for getenv decl; no longer needed. Check for isblank decl. * m4/mkstemp.m4 (gl_PREREQ_TEMPNAME): Don't check for getenv decl. * m4/regex.m4 (gl_PREREQ_REGEX): Dheck for isblank decl instead of existence.
Diffstat (limited to 'lib/sig2str.c')
-rw-r--r--lib/sig2str.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sig2str.c b/lib/sig2str.c
index 00089be782..bf4b7cbe8b 100644
--- a/lib/sig2str.c
+++ b/lib/sig2str.c
@@ -247,11 +247,11 @@ static struct numname { int num; char const name[8]; } numname_table[] =
#define NUMNAME_ENTRIES (sizeof numname_table / sizeof numname_table[0])
/* 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)