projects
/
project
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
188dea2
)
ucode: initialize default library search path
author
Jo-Philipp Wich
<jo@mein.io>
Fri, 12 Aug 2022 18:55:44 +0000
(20:55 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Fri, 12 Aug 2022 18:55:44 +0000
(20:55 +0200)
Recent ucode versions require us to explicitly initialize the search path
structure in the parser config.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
ucode.c
patch
|
blob
|
history
diff --git
a/ucode.c
b/ucode.c
index c03b6f0eb842e711e09f3b7f5557f64c6f3fb811..01de012a482d2f80a66268dfacd66b0246c57f82 100644
(file)
--- a/
ucode.c
+++ b/
ucode.c
@@
-231,6
+231,7
@@
uh_ucode_state_init(struct ucode_prefix *ucode)
uc_vm_init(vm, &config);
uc_stdlib_load(uc_vm_scope_get(vm));
+ uc_search_path_init(&config.module_search_path);
/* build uhttpd api table */
v = ucv_object_new(vm);