[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: [Bug 51180] changes underscores in spaces in quoted-printable attachments
From:       Wolfgang Westphal <wolfgang.westphal () gmx ! de>
Date:       2002-11-26 21:23:01
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Tuesday 26 November 2002 00:33 schrieb Ingo "Klöcker":
> A week ago I could reproduce this on one machine. But after a complete
> rebuild of qt-copy and KDE the problem is gone. I have no idea what
> could have caused this problem and as I can't reproduce it anymore I
> have to assume that the problem has been fixed somehow in the meantime.

I've got the same problem here on my machine, not only for attachments but
also for message bodies (today's CVS). I could solve it by making the 
mQEncoding flag of the QuotedPrintableDecoder class non-const (see attached 
patch). Maybe a gcc 3.x thing - I'm using gcc 3.1.1 and reporter is using 
gcc 3.2.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE94+Y+GoxYmT/KkJkRAvJqAJ47kl5aeNlSq1sROrykdXO4JVk7rQCfaPs/
AWUVhwrGvI7Nc/gqfZhBD/I=
=Knv7
-----END PGP SIGNATURE-----

["kmime_codec_qp.diff" (text/x-diff)]

Index: kmime_codec_qp.cpp
===================================================================
RCS file: /cvs/kdenetwork/libkdenetwork/kmime_codec_qp.cpp,v
retrieving revision 1.8
diff -u -3 -p -r1.8 kmime_codec_qp.cpp
--- kmime_codec_qp.cpp	2002/04/19 23:00:10	1.8
+++ kmime_codec_qp.cpp	2002/11/26 21:01:04
@@ -108,7 +108,7 @@ class QuotedPrintableDecoder : public De
   bool mFlushing        : 1;
   bool mExpectLF        : 1;
   bool mHaveAccu        : 1;
-  const bool mQEncoding : 1;
+  bool mQEncoding       : 1;
 protected:
   friend class QuotedPrintableCodec;
   friend class Rfc2047QEncodingCodec;

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic