From 56cc4ae1a241d36b64dbe26de89714f7771f6e78 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sun, 12 Oct 2003 00:55:11 +0000 Subject: 2003-10-11 Havoc Pennington * test/decode-gcov.c (function_solve_graph): make broken block graph a nonfatal error since it seems to be broken. Need to debug this. * dbus/dbus-marshal.c (_dbus_type_is_valid): new function since we can't just check type > INVALID < LAST anymore * dbus/dbus-message.c (dbus_message_get_signature): new function (dbus_message_has_signature): new function (struct DBusMessage): add signature field (right now it isn't sent over the wire, just generated on the fly) (dbus_message_copy): copy the signature, and init strings to proper length to avoid some reallocs (dbus_message_iter_init_array_iterator): return void, since it can't fail (dbus_message_iter_init_dict_iterator): return void since it can't fail (_dbus_message_loader_queue_messages): add silly temporary hack to fill in message->signature on load * dbus/dbus-protocol.h: change DBUS_TYPE_* values to be ASCII characters, so they are relatively human-readable. --- test/decode-gcov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/decode-gcov.c') diff --git a/test/decode-gcov.c b/test/decode-gcov.c index 29f061f7..9eb8d7be 100644 --- a/test/decode-gcov.c +++ b/test/decode-gcov.c @@ -831,10 +831,10 @@ function_solve_graph (Function *func) { if (block_graph[i].succ_count || block_graph[i].pred_count) { - fprintf (stderr, "Block graph solved incorrectly\n"); + fprintf (stderr, "WARNING: Block graph solved incorrectly\n"); fprintf (stderr, " block %d has succ_count = %d pred_count = %d\n", i, (int) block_graph[i].succ_count, (int) block_graph[i].pred_count); - exit (1); + fprintf (stderr, " this error reflects a bug in decode-gcov.c\n"); } } } -- cgit