projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bfbf4ab
)
Added missing message finalization by 0.
author
Sebastian Hack
<hack@ipd.info.uni-karlsruhe.de>
Tue, 11 Jan 2005 14:31:22 +0000
(14:31 +0000)
committer
Sebastian Hack
<hack@ipd.info.uni-karlsruhe.de>
Tue, 11 Jan 2005 14:31:22 +0000
(14:31 +0000)
[r4853]
ir/common/debug.c
patch
|
blob
|
history
diff --git
a/ir/common/debug.c
b/ir/common/debug.c
index
6227443
..
6dd5d6d
100644
(file)
--- a/
ir/common/debug.c
+++ b/
ir/common/debug.c
@@
-80,6
+80,8
@@
static void *make_msg_info(const firm_dbg_module_t *mod, const char *fmt, va_lis
obstack_grow(&dbg_obst, msg_header, sizeof(msg_header) - 1);
ir_obst_vprintf(&dbg_obst, fmt, args);
obstack_grow(&dbg_obst, msg_header, sizeof(msg_header) - 1);
ir_obst_vprintf(&dbg_obst, fmt, args);
+ obstack_1grow(&dbg_obst, '\0');
+
res->msg = obstack_finish(&dbg_obst);
res->mod = mod;
return res;
res->msg = obstack_finish(&dbg_obst);
res->mod = mod;
return res;