[RESEND PATCH] httpd: fix index.html with CGI and no basic auth

2023-09-11 Thread Ben Wolsieffer
From: Ben Wolsieffer The URL gets truncated if ENABLE_FEATURE_HTTPD_BASIC_AUTH or ENABLE_FEATURE_HTTPD_CGI is set, but it is only restored if ENABLE_FEATURE_HTTPD_BASIC_AUTH is set. This breaks index.html redirects for configurations that have CGI enabled but basic auth disabled. Fixes: 91a58b20

[PATCH] docproc: avoid segfault during file closing

2023-09-11 Thread Yan Zhu
In the function find_export_symbols, since the fopen file does not exit when it fails, there is a dereference problem in fclose(fp), which will cause a segmentation fault. Signed-off-by: Yan Zhu --- scripts/basic/docproc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/basic/docproc

Re: pidof and pgrep are slower than a grep /proc/[1-9]*/comm

2023-09-11 Thread Roberto A. Foglietta
On Sat, 9 Sept 2023 at 17:14, Bastian Bittorf wrote: > > I tried to replicate your findings, but my slow embedded OpenWRT > system (with musl libc) is so fast, that your tests always produce > 0 seconds execution time. You are talking about nofork and cpu affinity: About the system speed, I took