diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/HACKING | 11 | ||||
-rw-r--r-- | docs/TODO | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/docs/HACKING b/docs/HACKING index a31878d..46504da 100644 --- a/docs/HACKING +++ b/docs/HACKING @@ -25,6 +25,17 @@ Please comply with the following rules when hacking on Avahi: * Never forget that Avahi should be buildable without DBUS, GTK or python! + * Before commiting, test your code! In case of C consider running it + a few times through valgrind, to make sure that you got everything + right. You have to call libtool explicitly when running valgrind + on binaries that depend on shared objects. e.g: + + libtool --mode=execute valgrind ./avahi-daemon + + Please note that valgrind can't find you all bugs. Please check + your code thrice with your brain before committing. Valgrind is + only a final check. + * When you code in C, please compile with the following gcc options from time to time: @@ -1,6 +1,4 @@ todo: -* finish DBUS stuff: - - allow NUL bytes in TXT records * release! later: @@ -49,3 +47,4 @@ done: * drop trailing dot on avahi_normalize_name() * add entry_group::reset() * add internal error codes +* finish DBUS stuff: allow NUL bytes in TXT records |