vasprintf.c (int_vasprintf): Don't re-read the format character as this mishandles strings like '%%s'.

* vasprintf.c (int_vasprintf): Don't re-read the format character
as this mishandles strings like '%%s'.

From-SVN: r31102
This commit is contained in:
Geoff Keating 1999-12-27 21:38:06 +00:00 committed by Geoffrey Keating
parent cfa9f25220
commit 0fadedb2df
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-12-27 Geoff Keating <geoffk@cygnus.com>
* vasprintf.c (int_vasprintf): Don't re-read the format character
as this mishandles strings like '%%s'.
1999-12-05 Mark Mitchell <mark@codesourcery.com>
* splay-tree.c (splay_tree_new): Use struct splay_tree_node_s

View File

@ -105,6 +105,7 @@ int_vasprintf (result, format, args)
(void) va_arg (ap, char *);
break;
}
p++;
}
}
#ifdef TEST