summaryrefslogtreecommitdiff
blob: 2b47ac2f240baf594d7a3de58121b39b4a12211f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru zile-1.7-b3/lib/vasprintf.c zile-1.7-b3.new/lib/vasprintf.c
--- zile-1.7-b3/lib/vasprintf.c	2004-02-18 15:29:28.000000000 +0100
+++ zile-1.7-b3.new/lib/vasprintf.c	2004-06-24 21:20:27.933515736 +0200
@@ -615,7 +615,7 @@
      int            retval;
 
      s.src_string = format_string;
-     s.vargs = vargs;
+     va_copy( s.vargs , vargs);
      s.maxlen = (size_t)INT_MAX;
 
      retval = core( &s );