tdb: Fix tdb_runtime_check_for_robust_mutexes()
authorVolker Lendecke <vl@samba.org>
Wed, 26 Nov 2014 15:35:19 +0000 (15:35 +0000)
committerVolker Lendecke <vl@samba.org>
Wed, 26 Nov 2014 15:43:04 +0000 (16:43 +0100)
commit42b2e5ca8c9b85e6fce71529bef5d6b3ba4f4a38
tree57fff0a3843cd892632d9a55853d20a262daded8
parentec0c9ad0994d35e22ecc50e552d14582c51622b1
tdb: Fix tdb_runtime_check_for_robust_mutexes()

When using exit() instead of _exit(), the child will flush buffered stdout
(and other stdio) content that it inherited from the parent process. In
make test, this led to duplicate output from net registry which then
confused the blackbox selftest.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
lib/tdb/common/mutex.c