]> git.pld-linux.org Git - packages/KoboDeluxe.git/blobdiff - KoboDeluxe-va.patch
- va_list copy fixes
[packages/KoboDeluxe.git] / KoboDeluxe-va.patch
diff --git a/KoboDeluxe-va.patch b/KoboDeluxe-va.patch
new file mode 100644 (file)
index 0000000..fe55fe7
--- /dev/null
@@ -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 '[':
This page took 0.085486 seconds and 4 git commands to generate.