diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-09-19 05:33:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-09-19 05:33:36 +0000 |
commit | 3882b010780ca1aa1ed5d7b38e936cd2d6d5486b (patch) | |
tree | c806a73a13afd3265ba6b538ba73cae065c591f5 /ld/mpw-eppcmac.c | |
parent | 6b819c92c4512ccfba90f0caa204ab687fae8254 (diff) | |
download | gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.zip gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.gz gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.bz2 |
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'ld/mpw-eppcmac.c')
-rw-r--r-- | ld/mpw-eppcmac.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/ld/mpw-eppcmac.c b/ld/mpw-eppcmac.c index 0062ff3..1278097 100644 --- a/ld/mpw-eppcmac.c +++ b/ld/mpw-eppcmac.c @@ -1,7 +1,7 @@ /* This file is is generated by a shell script. DO NOT EDIT! */ /* AIX emulation code for ppcmacos - Copyright 1991, 1993, 1995, 1996, 1997, 2000 + Copyright 1991, 1993, 1995, 1996, 1997, 2000, 2001 Free Software Foundation, Inc. Written by Steve Chamberlain <sac@cygnus.com> AIX support by Ian Lance Taylor <ian@cygnus.com> @@ -27,11 +27,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "bfd.h" #include "sysdep.h" #include "libiberty.h" +#include "safe-ctype.h" #include "getopt.h" #include "bfdlink.h" -#include <ctype.h> - #include "ld.h" #include "ldmain.h" #include "ldmisc.h" @@ -708,7 +707,7 @@ gldppcmacos_read_file (filename, import) ++lineno; s = (char *) obstack_base (o); - while (isspace ((unsigned char) *s)) + while (ISSPACE (*s)) ++s; if (*s == '\0' || *s == '*' @@ -722,7 +721,7 @@ gldppcmacos_read_file (filename, import) if (*s == '#' && s[1] == '!') { s += 2; - while (isspace ((unsigned char) *s)) + while (ISSPACE (*s)) ++s; if (*s == '\0') { @@ -743,7 +742,7 @@ gldppcmacos_read_file (filename, import) keep = true; imppath = s; file = NULL; - while (! isspace ((unsigned char) *s) && *s != '(' && *s != '\0') + while (! ISSPACE (*s) && *s != '(' && *s != '\0') { if (*s == '/') file = s + 1; @@ -763,7 +762,7 @@ gldppcmacos_read_file (filename, import) } cs = *s; *s = '\0'; - while (isspace ((unsigned char) cs)) + while (ISSPACE (cs)) { ++s; cs = *s; @@ -797,7 +796,7 @@ gldppcmacos_read_file (filename, import) syscall = false; address = (bfd_vma) -1; - while (! isspace ((unsigned char) *s) && *s != '\0') + while (! ISSPACE (*s) && *s != '\0') ++s; if (*s != '\0') { @@ -805,16 +804,16 @@ gldppcmacos_read_file (filename, import) *s++ = '\0'; - while (isspace ((unsigned char) *s)) + while (ISSPACE (*s)) ++s; se = s; - while (! isspace ((unsigned char) *se) && *se != '\0') + while (! ISSPACE (*se) && *se != '\0') ++se; if (*se != '\0') { *se++ = '\0'; - while (isspace ((unsigned char) *se)) + while (ISSPACE (*se)) ++se; if (*se != '\0') einfo (_("%s%d: warning: syntax error in import/export file\n"), |