[Patches] No backtrace/panic action called from python tools (bug #13469)

Daniele Dario d.dario76 at gmail.com
Tue Jun 12 07:07:41 UTC 2018


Hi,

+static PyObject *py_fault_setup(PyObject *self)
+{
+       static bool done;
+       if (!done) {
+               fault_setup();
+               done = true;
+       }
+       Py_RETURN_NONE;
+}

shouldn't done be initialized to false or am I missing something?

Daniele.

On Tue, 2018-06-12 at 07:48 +0200, Stefan Metzmacher via samba-
technical wrote:
> Hi,
> 
> here're patches to call fault_setup() in our python commandline
> tools,
> e.g. samba-tool.
> 
> Please review and push:-)
> 
> Thanks!
> metze



More information about the samba-technical mailing list