+2002-06-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * gengtype.c (oprintf): Move VA_CLOSE after all fixedarg uses.
+
2002-06-30 Alan Modra <amodra@bigpond.net.au>
* unroll.c (loop_iterations): Handle EQ loops.
VA_FIXEDARG (ap, outf_p, o);
VA_FIXEDARG (ap, const char *, format);
slength = xvasprintf (&s, format, ap);
- VA_CLOSE (ap);
if (o->bufused + slength > o->buflength)
{
memcpy (o->buf + o->bufused, s, slength);
o->bufused += slength;
free (s);
+ VA_CLOSE (ap);
}
/* Open the global header file and the language-specific header files. */