From: NARUSE, Yui Date: Wed, 20 Feb 2013 07:57:24 +0000 (+0900) Subject: Remove extra outputs [ruby-dev:47057] X-Git-Tag: v2_1_3~6 X-Git-Url: http://git.sourceforge.jp/view?p=nkf%2Fnkf.git;a=commitdiff_plain;h=c7f07b3aaf5921647bd66a6ceb8f9741900bf4b2 Remove extra outputs [ruby-dev:47057] https://bugs.ruby-lang.org/issues/7892 --- diff --git a/nkf.c b/nkf.c index 8e9d206..4c2ba8e 100644 --- a/nkf.c +++ b/nkf.c @@ -21,10 +21,10 @@ * 3. This notice may not be removed or altered from any source distribution. */ #define NKF_VERSION "2.1.3" -#define NKF_RELEASE_DATE "2012-11-22" +#define NKF_RELEASE_DATE "2013-02-20" #define COPY_RIGHT \ "Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).\n" \ - "Copyright (C) 1996-2012, The nkf Project." + "Copyright (C) 1996-2013, The nkf Project." #include "config.h" #include "nkf.h" @@ -5111,9 +5111,6 @@ mime_prechar(nkf_char c2, nkf_char c1) } } else if (c2) { if (c2 != EOF && base64_count + mimeout_state.count/3*4> 60) { - mimeout_mode = (output_mode==ASCII ||output_mode == ISO_8859_1) ? 'Q' : 'B'; - open_mime(output_mode); - (*o_base64conv)(EOF,0); oconv_newline(o_base64conv); (*o_base64conv)(0,SP); base64_count = 1;