+2005-07-29 Havoc Pennington <hp@redhat.com>
+
+ * test/glib/test-profile.c (write_junk): initialize the junk
+ buffer so valgrind doesn't have a breakdown
+
2005-07-29 Havoc Pennington <hp@redhat.com>
* bus/signals.c (bus_signals_test): add match_rule_equal() tests
- Add support for getting sender
+ - format_version in the object info doesn't look like it's handled correctly. The creator
+ of the object info should specify some fixed number per struct version; the library
+ should handle only specific numbers it knows about. There's no assumption that all
+ numbers >= the given one are compatible. The idea is that new versions of the lib
+ can offer totally different object info structs, but old versions
+ keep working.
+
Important for 1.0 Python bindings
===
*/
#define N_CLIENT_THREADS 1
/* It seems like at least 750000 or so iterations reduces the variability to sane levels */
-#define N_ITERATIONS 750000
+#define N_ITERATIONS 25000
#define N_PROGRESS_UPDATES 20
/* Don't make PAYLOAD_SIZE too huge because it gets used as a static buffer size */
#define PAYLOAD_SIZE 0
int val;
char *buf;
char *allocated;
- char not_allocated[512+PAYLOAD_SIZE];
+ char not_allocated[512+PAYLOAD_SIZE] = { '\0', };
g_assert (count < (int) sizeof(not_allocated));
cd.iterations = 1;
cd.loop = g_main_loop_new (context, FALSE);
+ cd.vtable = data;
channel = g_io_channel_unix_new (fd);