Hello!

On 9/20/19 8:45 AM, Maria Matejka wrote:
Hello!

On 9/19/19 8:02 PM, Matt Corallo wrote:
Upon upgrading from 2.0.4 to 2.0.6, filters which call changed functions
(at least when those functions are in included from external files) are
no longer automatically reloaded upon reconfiguration.

Oh ****. Replicated. How is it possible that we missed it?
Will fix it.

Please try the attached patch or commit 96960449176e2d7c9022c01295b630b2086a4ff0 which should be the current master.

Thank you for reporting this bug.
Maria
diff --git a/filter/f-inst.c b/filter/f-inst.c
index 49ae993a..95808feb 100644
--- a/filter/f-inst.c
+++ b/filter/f-inst.c
@@ -897,6 +897,10 @@
     NEVER_CONSTANT;
     SYMBOL;
 
+    FID_SAME_BODY()
+      return !!(f2->sym->flags & SYM_FLAG_SAME);
+    FID_INTERPRET_BODY()
+
     /* Push the body on stack */
     LINEX(sym->function);
     curline.emask |= FE_RETURN;

Reply via email to