From 4b8f94d33fbd2929bf1046c0c2df23b6110d0b8a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 28 Apr 1998 09:57:10 +0000 Subject: Update. 1998-04-27 Andreas Schwab * iconvdata/Makefile ($(objpfx)iconv-test.out): Use this as target instead of do-iconv-test. ($(objpfx)gconv-modules): Define rule only if objpfx is not empty. 1998-04-27 Andreas Schwab * string/string.h: Fix feature test. 1998-04-27 Andreas Schwab * iconvdata/iso646.c (BODY): Don't use character constants that depend on signedness of char. --- iconvdata/Makefile | 13 +++++++------ iconvdata/iso646.c | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'iconvdata') diff --git a/iconvdata/Makefile b/iconvdata/Makefile index 80d9a08a97..56cef22705 100644 --- a/iconvdata/Makefile +++ b/iconvdata/Makefile @@ -475,13 +475,14 @@ endif include ../Rules -.PHONY: do-iconv-test -tests: do-iconv-test +tests: $(objpfx)iconv-test.out -do-iconv-test: run-iconv-test.sh $(objpfx)gconv-modules \ - $(addprefix $(objpfx),$(modules.so)) \ - $(common-objdir)/iconv/iconv_prog - $(SHELL) -e $< $(common-objdir) > $(objpfx)iconv-test.out +$(objpfx)iconv-test.out: run-iconv-test.sh $(objpfx)gconv-modules \ + $(addprefix $(objpfx),$(modules.so)) \ + $(common-objdir)/iconv/iconv_prog + $(SHELL) -e $< $(common-objdir) > $@ +ifdef objpfx $(objpfx)gconv-modules: gconv-modules cp $^ $@ +endif diff --git a/iconvdata/iso646.c b/iconvdata/iso646.c index d3eaa77834..29a452d112 100644 --- a/iconvdata/iso646.c +++ b/iconvdata/iso646.c @@ -391,7 +391,7 @@ gconv_end (struct gconv_step *data) break; \ default: \ break; \ - case '\x80' ... '\xff': \ + case 0x80 ... 0xff: \ /* Illegal character. */ \ failure = GCONV_ILLEGAL_INPUT; \ break; \ -- cgit v1.2.3