diff options
Diffstat (limited to 'iconvdata')
-rw-r--r-- | iconvdata/Makefile | 13 | ||||
-rw-r--r-- | iconvdata/iso646.c | 2 |
2 files changed, 8 insertions, 7 deletions
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; \ |