OSDN Git Service

* diable mime_decode_f because this flag has too large side effects
authorNARUSE, Yui <naruse@users.sourceforge.jp>
Tue, 8 Mar 2005 01:16:50 +0000 (01:16 +0000)
committerNARUSE, Yui <naruse@users.sourceforge.jp>
Tue, 8 Mar 2005 01:16:50 +0000 (01:16 +0000)
nkf.c

diff --git a/nkf.c b/nkf.c
index 7472255..c791e3e 100644 (file)
--- a/nkf.c
+++ b/nkf.c
@@ -39,7 +39,7 @@
 **        E-Mail: furukawa@tcp-ip.or.jp
 **    \e$B$^$G8fO"Mm$r$*4j$$$7$^$9!#\e(B
 ***********************************************************************/
 **        E-Mail: furukawa@tcp-ip.or.jp
 **    \e$B$^$G8fO"Mm$r$*4j$$$7$^$9!#\e(B
 ***********************************************************************/
-/* $Id: nkf.c,v 1.65 2005/03/05 07:05:20 naruse Exp $ */
+/* $Id: nkf.c,v 1.66 2005/03/07 16:16:50 naruse Exp $ */
 #define NKF_VERSION "2.0.4"
 #define NKF_RELEASE_DATE "2005-03-05"
 #include "config.h"
 #define NKF_VERSION "2.0.4"
 #define NKF_RELEASE_DATE "2005-03-05"
 #include "config.h"
@@ -1249,7 +1249,7 @@ options(cp)
            }
             continue;
         case 'm':   /* MIME support */
            }
             continue;
         case 'm':   /* MIME support */
-            mime_decode_f = TRUE;
+            /* mime_decode_f = TRUE; */ /* this has too large side effects... */
             if (*cp=='B'||*cp=='Q') {
                 mime_decode_mode = *cp++;
                 mimebuf_f = FIXED_MIME;
             if (*cp=='B'||*cp=='Q') {
                 mime_decode_mode = *cp++;
                 mimebuf_f = FIXED_MIME;
@@ -1258,6 +1258,7 @@ options(cp)
             } else if (*cp=='S') {
                 mime_f = STRICT_MIME; cp++;
             } else if (*cp=='0') {
             } else if (*cp=='S') {
                 mime_f = STRICT_MIME; cp++;
             } else if (*cp=='0') {
+                mime_decode_f = FALSE;
                 mime_f = FALSE; cp++;
             }
             continue;
                 mime_f = FALSE; cp++;
             }
             continue;