[evolution-patches] Patch for bug #40004



Hi!

The attached patch fixes bug #40004[1]. I've attached it there, too.
This patch is probably only interesting for the 1.4 codebase. It fixes a
pretty annoying bug which make vCards generated by evolution standard-incompliant.

Best regards,  
  Silvestre Zabala

[1] http://bugzilla.ximian.com/show_bug.cgi?id=40004

-- 
http://www.rzuser.uni-heidelberg.de/~szabala/
--- evolution/libversit/vcc.y.orig	2003-10-28 22:42:24.000000000 +0100
+++ evolution/libversit/vcc.y	2003-10-28 22:41:00.000000000 +0100
@@ -1029,6 +1029,10 @@
 		    /* single '=' follow by LINESEP is continuation sign? */
 		    if (next[0] == '\n') {
 			++mime_lineNum;
+			c  = lexLookahead();
+			if (c == ' ' || c == '\t') {
+			    lexSkipLookahead();
+			    }
 			}
 		    else {
 			lexPushLookaheadc('=');
--- evolution/libversit/vobject.c.orig	2003-10-26 17:53:01.000000000 +0100
+++ evolution/libversit/vobject.c	2003-10-26 17:53:43.000000000 +0100
@@ -1176,7 +1176,7 @@
         /* break up lines biggger than 75 chars */
         if(count >=74){
 		count=0;
-		appendsOFile(fp,"=\n");
+		appendsOFile(fp,"=\n\t");
 	}
 	
 	/* escape any non ASCII characters and '=' as per rfc1521 */

Attachment: signature.asc
Description: Digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]