mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
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:
parent
cfa9f25220
commit
0fadedb2df
@ -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
|
||||
|
@ -105,6 +105,7 @@ int_vasprintf (result, format, args)
|
||||
(void) va_arg (ap, char *);
|
||||
break;
|
||||
}
|
||||
p++;
|
||||
}
|
||||
}
|
||||
#ifdef TEST
|
||||
|
Loading…
Reference in New Issue
Block a user