From 63e18f77e2e1cfadfd7d6daa0c2c6583c7c7d7d9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 8 Sep 2000 04:31:55 +0000 Subject: Update. * iconvdata/tst-tables.sh: Actually return with an error if something goes wrong. * iconvdata/tst-table.sh: Return with an error if any of the cmp fails. * iconvdata/big5hkscs.c (BODY of FROM_LOOP): Reject 0xff as input. --- iconvdata/big5hkscs.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'iconvdata/big5hkscs.c') diff --git a/iconvdata/big5hkscs.c b/iconvdata/big5hkscs.c index e5097c75c9..316baa1e5f 100644 --- a/iconvdata/big5hkscs.c +++ b/iconvdata/big5hkscs.c @@ -11727,6 +11727,11 @@ static struct \ inptr += 2; \ } \ + else if (__builtin_expect (ch, 0) == 0xff) \ + { \ + result = __GCONV_ILLEGAL_INPUT; \ + break; \ + } \ else \ ++inptr; \ \ -- cgit v1.2.3