* macroexp.c (macro_stringify): Terminate the string.
This commit is contained in:
parent
8bbeae90c5
commit
e9e5e6b3fb
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-05-21 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* macroexp.c (macro_stringify): Terminate the string.
|
||||
|
||||
2012-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* NEWS (--with-auto-load-dir): Prepend $debugdir to the default path.
|
||||
|
|
|
@ -704,6 +704,7 @@ macro_stringify (const char *str)
|
|||
|
||||
init_buffer (&buffer, len);
|
||||
stringify (&buffer, str, len);
|
||||
appendc (&buffer, '\0');
|
||||
|
||||
return free_buffer_return_text (&buffer);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue