From: Andreas Schwab Date: Sun, 20 Sep 2009 07:42:48 +0000 (+0200) Subject: Fix typo in is646 gconv module X-Git-Tag: fedora/glibc-2.10.90-23~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae0f0dbd0e6205af474cd8e5d5f43ff7a7e46eec;p=thirdparty%2Fglibc.git Fix typo in is646 gconv module --- diff --git a/ChangeLog b/ChangeLog index 4798c3a4bfa..bdc4b4d4099 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-09-20 Andreas Schwab + + * iconvdata/iso646.c (gconv_init): Correctly initialize the + character size elements in step data. + 2009-09-20 Ulrich Drepper * po/hu.po: Update from translation team. diff --git a/iconvdata/iso646.c b/iconvdata/iso646.c index f388ae7de29..0989532c723 100644 --- a/iconvdata/iso646.c +++ b/iconvdata/iso646.c @@ -156,7 +156,7 @@ gconv_init (struct __gconv_step *step) new_data->var = var; step->__data = new_data; - if (var == from_iso646) + if (dir == from_iso646) { step->__min_needed_from = MIN_NEEDED_FROM; step->__max_needed_from = MIN_NEEDED_FROM;