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 /bfd/archive.c | |
parent | * lib/insight-support.exp (_gdbtk_export_target_info): Add (diff) | |
download | binutils-gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.gz binutils-gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.tar.bz2 binutils-gdb-3882b010780ca1aa1ed5d7b38e936cd2d6d5486b.zip |
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'bfd/archive.c')
-rw-r--r-- | bfd/archive.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/archive.c b/bfd/archive.c index 1faf0c7285e..f158ae61f0a 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -132,7 +132,7 @@ DESCRIPTION #include "libbfd.h" #include "aout/ar.h" #include "aout/ranlib.h" -#include <ctype.h> +#include "safe-ctype.h" #ifndef errno extern int errno; @@ -407,7 +407,7 @@ _bfd_generic_read_ar_hdr_mag (abfd, mag) else if (hdr.ar_name[0] == '#' && hdr.ar_name[1] == '1' && hdr.ar_name[2] == '/' - && isdigit ((unsigned char) hdr.ar_name[3])) + && ISDIGIT (hdr.ar_name[3])) { /* BSD-4.4 extended name */ namelen = atoi (&hdr.ar_name[3]); |