From: NARUSE Yui Date: Thu, 3 Dec 2009 07:40:06 +0000 (+0900) Subject: Fix: LF between ISO-2022-JP causes broken output. [nkf-bug#19779] X-Git-Tag: v2_1_3~56 X-Git-Url: http://git.sourceforge.jp/view?p=nkf%2Fnkf.git;a=commitdiff_plain;h=a8bce81d92c1158c4baeeb2ae8b9c86aff9a12f5 Fix: LF between ISO-2022-JP causes broken output. [nkf-bug#19779] reported by efialtes --- diff --git a/nkf.c b/nkf.c index 1662e71..8b903c9 100644 --- a/nkf.c +++ b/nkf.c @@ -4959,7 +4959,7 @@ mime_putc(nkf_char c) mimeout_addchar(mimeout_state.buf[i]); } mimeout_state.count = 0; - } else if (SP5)#6#)98DM%23T_/0H` +eofeof + +printf "%-40s", "test_data/bug19779 "; + &test("$nkf -jM",$example{'test_data/bug19779'},$example{'test_data/bug19779.ans'}); if (!NKF) { printf "%-40s", "Guess NL";