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
(parent:
e77f956
)
Fix: CRLF & Q-encode & softwrap breaks result.
author
NARUSE Yui
<naruse@users.sourceforge.jp>
Wed, 21 Oct 2009 11:27:34 +0000
(20:27 +0900)
committer
NARUSE Yui
<naruse@users.sourceforge.jp>
Wed, 21 Oct 2009 11:27:34 +0000
(20:27 +0900)
Reported and patched by efialtes.
http://sourceforge.jp/ticket/browse.php?group_id=248&tid=19254
nkf.c
patch
|
blob
|
history
diff --git
a/nkf.c
b/nkf.c
index
aab1bcd
..
b35d02f
100644
(file)
--- a/
nkf.c
+++ b/
nkf.c
@@
-4439,7
+4439,7
@@
mime_getc(FILE *f)
}
if (c1=='='&&c2<SP) { /* this is soft wrap */
while((c1 = (*i_mgetc)(f)) <=SP) {
- if (
(c1 = (*i_mgetc)(f))
== EOF) return (EOF);
+ if (
c1
== EOF) return (EOF);
}
mime_decode_mode = 'Q'; /* still in MIME */
goto restart_mime_q;