Commit 9bef5174 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Update valgrind options to valgrind-2.4.0.

parent badca647
2006-01-02 Per Cederqvist <ceder@lysator.liu.se>
Update valgrind options to valgrind-2.4.0.
* src/server/testsuite/lyskomd.supp (i_fopen-2.3.1): New name for
former i_fopen.
(i_fopen-2.3.5): New suppression.
* src/server/testsuite/config/unix.exp (l2g_start): Use valgrind
option --leak-check=full, not the obsolete variant
--leak-check=yes.
(spawn_lyskomd): Ditto.
(dbck_run): Run with --leak-check=full.
Fixed a type mismatch in adns.
* src/libraries/adns/src/event.c (adns_processreadable):
udpaddrlen should be a socklen_t, not int.
......
......@@ -200,7 +200,7 @@ proc l2g_start {} {
obtain_lock
if {$valgrind != ""} {
spawn ./valgrind.wrap valgrind-l2g.log --suppressions=lyskomd.supp --num-callers=40 --leak-check=yes --logfile-fd=$valgrind_fd --show-reachable=yes $l2g
spawn ./valgrind.wrap valgrind-l2g.log --suppressions=lyskomd.supp --num-callers=40 --leak-check=full --logfile-fd=$valgrind_fd --show-reachable=yes $l2g
} else {
spawn $l2g
}
......@@ -501,7 +501,7 @@ proc spawn_lyskomd {logfile arg} {
# set cmd "$cmd -v"
set cmd "$cmd --num-callers=40"
set cmd "$cmd --suppressions=lyskomd.supp"
set cmd "$cmd --leak-check=yes"
set cmd "$cmd --leak-check=full"
set cmd "$cmd --logfile-fd=$valgrind_fd"
set cmd "$cmd --show-reachable=yes"
}
......@@ -1129,7 +1129,7 @@ proc dbck_run {{extra_lines {}}} {
global valgrind_fd
if {$valgrind != ""} {
spawn ./valgrind.wrap valgrind-dbck.log --suppressions=lyskomd.supp --num-callers=40 --logfile-fd=$valgrind_fd --show-reachable=yes ../dbck -d config/lyskomd-config
spawn ./valgrind.wrap valgrind-dbck.log --leak-check=full --suppressions=lyskomd.supp --num-callers=40 --logfile-fd=$valgrind_fd --show-reachable=yes ../dbck -d config/lyskomd-config
} else {
spawn ../dbck -d config/lyskomd-config
}
......
......@@ -192,7 +192,7 @@
# leak at all.
{
i_fopen
i_fopen-2.3.1
Memcheck:Leak
fun:malloc
fun:__fopen_internal
......@@ -201,6 +201,17 @@
fun:init_cache
}
# Ditto under glibc-2.3.5.
{
i_fopen-2.3.5
Memcheck:Leak
fun:malloc
obj:libc-2.3.5.so
fun:fopen
fun:i_fopen
fun:post_sync
}
##----------------------------------------------------------------------##
# flex-2.5.4a seems to not delete the current buffer once it is done.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment