mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
* macroexp.c (macro_stringify): Terminate the string.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user