* vasprintf.c (int_vasprintf): Don't re-read the format character

as this mishandles strings like '%%s'.
This commit is contained in:
Geoffrey Keating 1999-12-28 03:10:39 +00:00
parent b1f10154aa
commit df840b63dc
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-08-03 Ian Lance Taylor <ian@zembu.com> 1999-08-03 Ian Lance Taylor <ian@zembu.com>
* floatformat.c: Add casts to avoid signed/unsigned warnings. * floatformat.c: Add casts to avoid signed/unsigned warnings.

View File

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