OSDN Git Service
(root)
/
nkf
/
nkf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c61b501
)
Don't MIME encode newline characters.
author
NARUSE Yui
<naruse@users.sourceforge.jp>
Fri, 20 Nov 2009 05:15:48 +0000
(14:15 +0900)
committer
NARUSE Yui
<naruse@users.sourceforge.jp>
Fri, 20 Nov 2009 05:15:48 +0000
(14:15 +0900)
nkf.c
patch
|
blob
|
history
diff --git
a/nkf.c
b/nkf.c
index
e976bef
..
1662e71
100644
(file)
--- a/
nkf.c
+++ b/
nkf.c
@@
-4649,7
+4649,8
@@
mime_prechar(nkf_char c2, nkf_char c1)
base64_count = 1;
}
} else {
- if (base64_count + mimeout_state.count/3*4> 66) {
+ if (!(c2 == 0 && (c1 == CR || c1 == LF)) &&
+ base64_count + mimeout_state.count/3*4> 66) {
(*o_base64conv)(EOF,0);
OCONV_NEWLINE((*o_base64conv));
(*o_base64conv)(0,SP);