mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
r25150: don't recursivly call call dump_core()
as currently seen in 'make test' localy and in the farm metze
This commit is contained in:
parent
c3b423c52a
commit
f41efe01b5
@ -150,6 +150,14 @@ void dump_core_setup(const char *progname)
|
||||
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user