← Commit list

de26b74b1

Denys Vlasenko
Denys Vlasenko
2026-04-29
SUCCESS Duration: 145s

Subject

httpd: fix build for !FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR config

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
gcc -Wp,-MD,applets/.usage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer      -Iinclude -Iinclude -o applets/usage applets/usage.c

Build Log

(log yok)

Commit Diff GitHub →

networking/httpd.c+1 -1
@@ -2558,7 +2558,7 @@ static void handle_incoming_and_exit(const len_and_sockaddr *fromAddr)
#if ENABLE_FEATURE_HTTPD_CGI
if (is_prefixed_with(tptr, "cgi-bin/")) {
- script_i = NULL; /* no interpreter */
+ IF_FEATURE_HTTPD_CONFIG_WITH_SCRIPT_INTERPR(script_i = NULL; /* no interpreter */)
cgi_type = CGI_NORMAL;
if (stat(tptr, &sb) == 0) {
/* disallow anything but ordinary files in cgi-bin/ */