diff options
author | DJ Delorie <dj@delorie.com> | 2000-12-08 16:37:01 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2000-12-08 16:37:01 +0000 |
commit | 35321415e808e149edd05fce61d771bc30503624 (patch) | |
tree | 3b647cbaf9d250da6cc15f32b5d946bec6f65325 /libiberty/pexecute.c | |
parent | ff973f2271429b95f36a4ae299824f33e775c7c9 (diff) | |
download | gdb-35321415e808e149edd05fce61d771bc30503624.tar.gz |
* safe-ctype.c: New file.
* Makefile.in (CFILES): Add safe-ctype.c.
(REQUIRED_OFILES): Add safe-ctype.o.
* argv.c: Define ISBLANK and use it, not isspace.
* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
before calling TOLOWER(c)/TOUPPER(c).
Diffstat (limited to 'libiberty/pexecute.c')
-rw-r--r-- | libiberty/pexecute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c index 34d2deb298b..32943af59ef 100644 --- a/libiberty/pexecute.c +++ b/libiberty/pexecute.c @@ -41,12 +41,12 @@ extern int errno; #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif -#define ISSPACE (x) isspace(x) #ifdef HAVE_SYS_WAIT_H #include <sys/wait.h> #endif #include "libiberty.h" +#include "safe-ctype.h" /* stdin file number. */ #define STDIN_FILE_NO 0 |