SOURCES: libgnome-load-config.patch - updated for 2.26.0
megabajt
megabajt at pld-linux.org
Tue Mar 17 22:21:57 CET 2009
Author: megabajt Date: Tue Mar 17 21:21:57 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated for 2.26.0
---- Files affected:
SOURCES:
libgnome-load-config.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/libgnome-load-config.patch
diff -u SOURCES/libgnome-load-config.patch:1.3 SOURCES/libgnome-load-config.patch:1.4
--- SOURCES/libgnome-load-config.patch:1.3 Wed Jul 12 18:48:12 2006
+++ SOURCES/libgnome-load-config.patch Tue Mar 17 22:21:51 2009
@@ -1,6 +1,6 @@
-diff -ur libgnome-2.14.1/libgnome/gnome-config.c libgnome-2.14.1.fix/libgnome/gnome-config.c
---- libgnome-2.14.1/libgnome/gnome-config.c 2006-01-06 10:07:04.000000000 +0100
-+++ libgnome-2.14.1.fix/libgnome/gnome-config.c 2006-05-23 18:56:30.000000000 +0200
+diff -urN libgnome-2.26.0/libgnome/gnome-config.c libgnome-2.26.0.new/libgnome/gnome-config.c
+--- libgnome-2.26.0/libgnome/gnome-config.c 2009-03-17 15:42:06.000000000 +0100
++++ libgnome-2.26.0.new/libgnome/gnome-config.c 2009-03-17 22:18:06.000000000 +0100
@@ -46,7 +46,6 @@
#endif
@@ -27,7 +27,7 @@
if (c == '\r') /* Ignore Carriage Return */
@@ -326,13 +325,12 @@
switch (state){
-
+
case OnSecHeader:
- if (c == ']' || overflow){
- *next = '\0';
@@ -61,7 +61,7 @@
break;
}
/* On first pass, don't allow dangling keys */
-@@ -375,47 +373,45 @@
+@@ -375,45 +373,43 @@
if ((c == ' ' && state != KeyDefOnKey) || c == '\t')
break;
@@ -102,8 +102,6 @@
state = c == '\n' ? KeyDef : IgnoreToEOL;
- next = CharBuffer;
+ CharBuffer = g_string_truncate(CharBuffer, 0);
- #ifdef GNOME_ENABLE_DEBUG
- #endif
} else
- *next++ = c;
+ CharBuffer = g_string_append_c(CharBuffer, c);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/libgnome-load-config.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list