From: Ulrich Drepper Date: Wed, 24 Apr 2002 20:24:03 +0000 (+0000) Subject: (EMIT_SHIFT_TO_INIT): Fix modification mask of data->__statep->__count. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe66dac82630328134029901c6574681c12a50c5;p=thirdparty%2Fglibc.git (EMIT_SHIFT_TO_INIT): Fix modification mask of data->__statep->__count. --- diff --git a/iconvdata/iso-2022-jp.c b/iconvdata/iso-2022-jp.c index af840dd0a79..80fd0334981 100644 --- a/iconvdata/iso-2022-jp.c +++ b/iconvdata/iso-2022-jp.c @@ -1,5 +1,5 @@ /* Conversion module for ISO-2022-JP and ISO-2022-JP-2. - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000-2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1998. @@ -237,7 +237,7 @@ gconv_end (struct __gconv_step *data) *outbuf++ = '('; \ *outbuf++ = 'B'; \ /* Note that this also clears the G2 designation. */ \ - data->__statep->__count &= ~7; \ + data->__statep->__count &= 7; \ data->__statep->__count |= ASCII_set; \ } \ } \