sigpipe: unset SA_SIGINFO since it is using sa_handler
No binary (build failed)
—
(log yok)
| @@ -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); | |
| } | |
| } | |