diff options
author | H.J. Lu <hjl@lucon.org> | 2001-09-19 05:33:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-09-19 05:33:36 +0000 |
commit | 75e56203c5a58ad68a2015e0c7da2590093a3ec0 (patch) | |
tree | e91126f6df5579aaae921d5b82dc556b8c174966 /binutils/winduni.c | |
parent | 196eb9fb0228e90f1f5c43a65372657f443580da (diff) | |
download | binutils-redhat-75e56203c5a58ad68a2015e0c7da2590093a3ec0.tar.gz |
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'binutils/winduni.c')
-rw-r--r-- | binutils/winduni.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/binutils/winduni.c b/binutils/winduni.c index d79f47a3d7..deb6a94d96 100644 --- a/binutils/winduni.c +++ b/binutils/winduni.c @@ -1,5 +1,5 @@ /* winduni.c -- unicode support for the windres program. - Copyright 1997, 1998 Free Software Foundation, Inc. + Copyright 1997, 1998, 2000, 2001 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support. This file is part of GNU Binutils. @@ -30,8 +30,7 @@ #include "bfd.h" #include "bucomm.h" #include "winduni.h" - -#include <ctype.h> +#include "safe-ctype.h" #ifdef _WIN32 #include <windows.h> @@ -99,7 +98,7 @@ unicode_print (e, unicode, length) { if (ch == '\\') fputs ("\\", e); - else if (isprint (ch)) + else if (ISPRINT (ch)) putc (ch, e); else { |