blob: 8b831e3b8dda2a91bb6345a7fff7721dffbba2ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff -Naurp spim-7.2.1.ucb.orig/CPU/string-stream.c spim-7.2.1.ucb/CPU/string-stream.c
--- spim-7.2.1.ucb.orig/CPU/string-stream.c 2005-08-28 13:58:13.000000000 -0700
+++ spim-7.2.1.ucb/CPU/string-stream.c 2005-10-04 22:32:37.338885592 -0700
@@ -119,6 +119,9 @@ ss_printf (str_stream* ss, char* fmt, ..
free_space = ss->max_length - ss->empty_pos;
if (NULL == ss->buf)
fatal_error ("realloc failed\n");
+
+ va_end (args);
+ va_start (args, fmt);
}
ss->empty_pos += n;
|