Displaying 1 result from an estimated 1 matches for "b105e53".
Did you mean:
9105a53
2018 Mar 06
1
[PATCH nbdkit] Fix --dump-plugin on perl, python and ruby plugins.
....c
@@ -169,7 +169,7 @@ perl_dump_plugin (void)
{
dSP;
- if (callback_defined ("dump_plugin")) {
+ if (script && callback_defined ("dump_plugin")) {
ENTER;
SAVETMPS;
PUSHMARK (SP);
diff --git a/plugins/python/python.c b/plugins/python/python.c
index b105e53..83a32ea 100644
--- a/plugins/python/python.c
+++ b/plugins/python/python.c
@@ -155,7 +155,7 @@ py_dump_plugin (void)
PyObject *fn;
PyObject *r;
- if (callback_defined ("dump_plugin", &fn)) {
+ if (script && callback_defined ("dump_plugin", &fn)) {...