svn commit: samba r23828 - in branches: SAMBA_3_2/source/lib
SAMBA_3_2_0/source/lib
obnox at samba.org
obnox at samba.org
Wed Jul 11 10:08:17 GMT 2007
Author: obnox
Date: 2007-07-11 10:08:17 +0000 (Wed, 11 Jul 2007)
New Revision: 23828
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23828
Log:
Add entry and exit debug statments to tdb_validate
at a lower debug level.
Michael
Modified:
branches/SAMBA_3_2/source/lib/util_tdb.c
branches/SAMBA_3_2_0/source/lib/util_tdb.c
Changeset:
Modified: branches/SAMBA_3_2/source/lib/util_tdb.c
===================================================================
--- branches/SAMBA_3_2/source/lib/util_tdb.c 2007-07-11 09:49:10 UTC (rev 23827)
+++ branches/SAMBA_3_2/source/lib/util_tdb.c 2007-07-11 10:08:17 UTC (rev 23828)
@@ -1051,6 +1051,8 @@
int wait_pid = 0;
int ret = -1;
+ DEBUG(5, ("tdb_validate called for tdb '%s'\n", tdb_path));
+
/* fork and let the child do the validation.
* benefit: no need to twist signal handlers and panic functions.
* just let the child panic. we catch the signal. */
@@ -1112,5 +1114,8 @@
ret = WSTOPSIG(child_status);
}
+ DEBUG(5, ("tdb_validate returning code '%d' for tdb '%s'\n", ret,
+ tdb_path));
+
return ret;
}
Modified: branches/SAMBA_3_2_0/source/lib/util_tdb.c
===================================================================
--- branches/SAMBA_3_2_0/source/lib/util_tdb.c 2007-07-11 09:49:10 UTC (rev 23827)
+++ branches/SAMBA_3_2_0/source/lib/util_tdb.c 2007-07-11 10:08:17 UTC (rev 23828)
@@ -1051,6 +1051,8 @@
int wait_pid = 0;
int ret = -1;
+ DEBUG(5, ("tdb_validate called for tdb '%s'\n", tdb_path));
+
/* fork and let the child do the validation.
* benefit: no need to twist signal handlers and panic functions.
* just let the child panic. we catch the signal. */
@@ -1112,5 +1114,8 @@
ret = WSTOPSIG(child_status);
}
+ DEBUG(5, ("tdb_validate returning code '%d' for tdb '%s'\n", ret,
+ tdb_path));
+
return ret;
}
More information about the samba-cvs
mailing list