]> git.pld-linux.org Git - packages/KoboDeluxe.git/blob - KoboDeluxe-va.patch
- va_list copy fixes
[packages/KoboDeluxe.git] / KoboDeluxe-va.patch
1 --- KoboDeluxe-0.4pre8/eel/e_getargs.c.orig     2002-04-22 10:05:35.000000000 +0200
2 +++ KoboDeluxe-0.4pre8/eel/e_getargs.c  2005-10-30 22:01:17.000000000 +0100
3 @@ -604,7 +604,7 @@
4  
5         eel_current.arg = 1;
6  
7 -       args_tipple_start = args;       /* Warning supressor... */
8 +       va_copy(args_tipple_start, args);       /* Warning supressor... */
9         while(got < argc)
10         {
11                 eel_data_t *a = argv + got;
12 @@ -636,7 +636,7 @@
13                         ++fmt;
14                         using_tipple = 1;
15                         tipple_start = fmt;
16 -                       args_tipple_start = args;
17 +                       va_copy(args_tipple_start, args);
18                         continue;
19                   case '>':
20                         /* Argument tipple end */
21 @@ -648,7 +648,7 @@
22                                 return -1;
23                         }
24                         fmt = tipple_start;
25 -                       args = args_tipple_start;
26 +                       va_copy(args, args_tipple_start);
27                         ++tipple;
28                         continue;
29                   case '[':
This page took 0.063968 seconds and 4 git commands to generate.