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/ldlex.l | |
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/ldlex.l')
-rw-r--r-- | ld/ldlex.l | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ %{ -/* Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 +/* Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. This file is part of GLD, the Gnu Linker. @@ -28,7 +28,6 @@ This was written by steve chamberlain #include <ansidecl.h> #include <stdio.h> -#include <ctype.h> #ifdef MPW /* Prevent enum redefinition problems. */ @@ -37,6 +36,7 @@ This was written by steve chamberlain #include "bfd.h" #include "sysdep.h" +#include "safe-ctype.h" #include "ld.h" #include "ldgram.h" #include "ldmisc.h" @@ -658,7 +658,7 @@ lex_warn_invalid (where, what) einfo ("%F%s: file not recognized: %E\n", ldfile_input_filename); } - if (! isprint ((unsigned char) *what)) + if (! ISPRINT (*what)) { sprintf (buf, "\\%03o", (unsigned int) *what); what = buf; |