From ac424eb32cfa4618d9c3b58276e950e2cc58c540 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Fri, 8 Dec 2000 16:37:01 +0000 Subject: * 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). --- libiberty/pexecute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libiberty/pexecute.c') diff --git a/libiberty/pexecute.c b/libiberty/pexecute.c index 34d2deb..32943af 100644 --- a/libiberty/pexecute.c +++ b/libiberty/pexecute.c @@ -41,12 +41,12 @@ extern int errno; #ifdef HAVE_STDLIB_H #include #endif -#define ISSPACE (x) isspace(x) #ifdef HAVE_SYS_WAIT_H #include #endif #include "libiberty.h" +#include "safe-ctype.h" /* stdin file number. */ #define STDIN_FILE_NO 0 -- cgit v1.1