Attach a patch to a mail and send it to yourself. Save the patch to disk. It does not end in a newline anymore. This is annoying since patch will now complain when applying.
will look at it tomorrow
I confirm it.
It's not attachjob which create problem but after sending.
Will look at
Ok it's saved function which has an error.
it's just a problem with text.
size is not the same.
But with pdf it's ok.
I think it's a bug in kmime which extract text.
Git commit 5bb2ed17335354dd805d14b63609036fe357b0d5 by Montel Laurent.
Committed on 12/12/2012 at 08:31.
Pushed by mlaurent into branch 'master'.
Fix Bug 311267 - Final newlines from text attachments is lost
M +3 -3 kmime/kmime_content.cpp