← Commit list

1cacfcd30f

tommy
tommy
2026-01-19
SUCCESS Duration: 329s

Subject

sigpipe: unset SA_SIGINFO since it is using sa_handler

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

—

Build Log

(log yok)

Commit Diff GitHub →

lib/sigpipe.h+2 -0
@@ -58,6 +58,8 @@ static CURL_INLINE void sigpipe_ignore(struct Curl_easy *data,
action = ig->old_pipe_act;
/* ignore this signal */
action.sa_handler = SIG_IGN;
+ /* clear SA_SIGINFO flag since we are using sa_handler */
+ action.sa_flags &= ~SA_SIGINFO;
sigaction(SIGPIPE, &action, NULL);
}
}