Disable RUN in callbacks to ordx and subst_xxx functions.

This commit is contained in:
Dianne Skoll
2025-08-15 20:27:51 -04:00
parent 5cb0e82be2
commit 7b7b861399
11 changed files with 147 additions and 22 deletions
+3
View File
@@ -263,6 +263,8 @@ typedef struct {
#define RUN_SCRIPT 0x02
#define RUN_NOTOWNER 0x04
#define RUN_IN_EVAL 0x08
#define RUN_UF 0x10 /* A user-function defined with RUN OFF */
#define RUN_CB 0x20 /* A callback */
/* Flags for the SimpleCalendar format */
#define SC_AMPM 0 /* Time shown as 3:00am, etc. */
@@ -317,6 +319,7 @@ typedef struct udf_struct {
int lineno_start;
int recurse_flag;
int been_pushed;
int run_disabled;
} UserFunc;
/* A pushed systtem variable */