diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-11 19:33:37 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-11 19:33:37 +0000 |
commit | 353a69229dcedd1991b710085a37d6c331816a92 (patch) | |
tree | 2d6c8fe3a2adf22434055d6c58a19dedaf65841b | |
parent | e350fe247af325d9c148b27617dce77750e989a4 (diff) | |
download | ruby-353a69229dcedd1991b710085a37d6c331816a92.tar.gz |
* ext/nkf/nkf-utf8/nkf.c: fix bug: -m was -m0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ext/nkf/nkf-utf8/nkf.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sat Jan 12 04:31:59 2008 NARUSE, Yui <naruse@ruby-lang.org> + + * ext/nkf/nkf-utf8/nkf.c: fix bug: -m was -m0. + Fri Jan 11 23:22:31 2008 Tanaka Akira <akr@fsij.org> * string.c (string.c): call rb_str_buf_append to update encoding of diff --git a/ext/nkf/nkf-utf8/nkf.c b/ext/nkf/nkf-utf8/nkf.c index 431027b574..54f690a954 100644 --- a/ext/nkf/nkf-utf8/nkf.c +++ b/ext/nkf/nkf-utf8/nkf.c @@ -2045,6 +2045,8 @@ void options(unsigned char *cp) } else if (*cp=='0') { mime_decode_f = FALSE; mime_f = FALSE; cp++; + } else { + mime_f = STRICT_MIME; } continue; case 'M': /* MIME output */ |