diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2010-06-21 14:57:11 +0930 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2010-06-21 14:57:11 +0930 |
commit | b0a8fd19ffcb8129ca45d1dfa9e7cd3d317601ad (patch) | |
tree | 382682414367235e57aecc25318208d27c648565 /ctdb/lib/replace/replace.h | |
parent | fee11bf13be72de71d83912dfc12e61c5e4ecbbf (diff) | |
download | samba-b0a8fd19ffcb8129ca45d1dfa9e7cd3d317601ad.tar.gz samba-b0a8fd19ffcb8129ca45d1dfa9e7cd3d317601ad.tar.xz samba-b0a8fd19ffcb8129ca45d1dfa9e7cd3d317601ad.zip |
libctdb: test: improve logging of failure paths
We include the file and line which called the functions, so the printed
failure path now looks like:
[malloc(ctdb.c:144)]:1:S[socket(ctdb.c:168)]:1:S...
The form is:
[ <function> ( <caller> ) ] : <input line> : <result>
<function> is the function which is called (eg. malloc).
<caller> is the file and line number which called <function>.
<input line> is the 1-based line number in the input which we were up to.
<result> is 'S' (success) or 'F' (failure).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(This used to be ctdb commit 5fb6da30b5b5a8b761c8ab9a8124b87b759ef055)
Diffstat (limited to 'ctdb/lib/replace/replace.h')
0 files changed, 0 insertions, 0 deletions