svn commit: samba r25150 - in branches/SAMBA_3_2/source/lib: .
metze at samba.org
metze at samba.org
Fri Sep 14 11:07:03 GMT 2007
Author: metze
Date: 2007-09-14 11:07:02 +0000 (Fri, 14 Sep 2007)
New Revision: 25150
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25150
Log:
don't recursivly call call dump_core()
as currently seen in 'make test' localy and in the farm
metze
Modified:
branches/SAMBA_3_2/source/lib/fault.c
Changeset:
Modified: branches/SAMBA_3_2/source/lib/fault.c
===================================================================
--- branches/SAMBA_3_2/source/lib/fault.c 2007-09-14 08:26:30 UTC (rev 25149)
+++ branches/SAMBA_3_2/source/lib/fault.c 2007-09-14 11:07:02 UTC (rev 25150)
@@ -150,6 +150,14 @@
void dump_core(void)
{
+ static bool called;
+
+ if (called) {
+ DEBUG(0, ("dump_core() called recursive\n"));
+ exit(1);
+ }
+ called = true;
+
/* Note that even if core dumping has been disabled, we still set up
* the core path. This is to handle the case where core dumping is
* turned on in smb.conf and the relevant daemon is not restarted.
More information about the samba-cvs
mailing list