SOURCES: KoboDeluxe-va.patch (NEW) - va_list copy fixes
qboosh
qboosh at pld-linux.org
Sun Oct 30 22:09:19 CET 2005
Author: qboosh Date: Sun Oct 30 21:09:19 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- va_list copy fixes
---- Files affected:
SOURCES:
KoboDeluxe-va.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/KoboDeluxe-va.patch
diff -u /dev/null SOURCES/KoboDeluxe-va.patch:1.1
--- /dev/null Sun Oct 30 22:09:19 2005
+++ SOURCES/KoboDeluxe-va.patch Sun Oct 30 22:09:14 2005
@@ -0,0 +1,29 @@
+--- KoboDeluxe-0.4pre8/eel/e_getargs.c.orig 2002-04-22 10:05:35.000000000 +0200
++++ KoboDeluxe-0.4pre8/eel/e_getargs.c 2005-10-30 22:01:17.000000000 +0100
+@@ -604,7 +604,7 @@
+
+ eel_current.arg = 1;
+
+- args_tipple_start = args; /* Warning supressor... */
++ va_copy(args_tipple_start, args); /* Warning supressor... */
+ while(got < argc)
+ {
+ eel_data_t *a = argv + got;
+@@ -636,7 +636,7 @@
+ ++fmt;
+ using_tipple = 1;
+ tipple_start = fmt;
+- args_tipple_start = args;
++ va_copy(args_tipple_start, args);
+ continue;
+ case '>':
+ /* Argument tipple end */
+@@ -648,7 +648,7 @@
+ return -1;
+ }
+ fmt = tipple_start;
+- args = args_tipple_start;
++ va_copy(args, args_tipple_start);
+ ++tipple;
+ continue;
+ case '[':
================================================================
More information about the pld-cvs-commit
mailing list