]> git.pld-linux.org Git - packages/KoboDeluxe.git/commitdiff
- va_list copy fixes
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 30 Oct 2005 21:09:14 +0000 (21:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    KoboDeluxe-va.patch -> 1.1

KoboDeluxe-va.patch [new file with mode: 0644]

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.05844 seconds and 4 git commands to generate.