diff options
| author | Jo-Philipp Wich | 2022-08-12 18:55:44 +0000 |
|---|---|---|
| committer | Jo-Philipp Wich | 2022-08-12 18:55:44 +0000 |
| commit | 8cb3f85bdfef35e62f98d7d8b300eaedb6b1b20b (patch) | |
| tree | 41c777112187c00913d3fa72f792feacb2586271 | |
| parent | 188dea23edf8b1646c662fa6ab8119f156da49a5 (diff) | |
| download | uhttpd-8cb3f85bdfef35e62f98d7d8b300eaedb6b1b20b.tar.gz | |
ucode: initialize default library search path
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>
| -rw-r--r-- | ucode.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |