22 lines
696 B
Plaintext
22 lines
696 B
Plaintext
$OpenBSD: patch-eel_e_getargs_c,v 1.1 2004/03/03 08:42:47 pvalchev Exp $
|
|
--- eel/e_getargs.c.orig 2002-04-22 02:05:35.000000000 -0600
|
|
+++ eel/e_getargs.c 2004-03-03 01:38:45.000000000 -0700
|
|
@@ -604,7 +604,7 @@ static int eel_get_argsv(int argc, struc
|
|
|
|
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 @@ static int eel_get_argsv(int argc, struc
|
|
++fmt;
|
|
using_tipple = 1;
|
|
tipple_start = fmt;
|
|
- args_tipple_start = args;
|
|
+ va_copy(args_tipple_start, args);
|
|
continue;
|
|
case '>':
|
|
/* Argument tipple end */
|