Browse Source
This change should fix an issue with lighttpd on Debian kfreebsd-* arch (kfreebsd-amd64 and kfreebsd-i386) .libs/mod_cgi.o: In function `cgi_create_env': ./src/mod_cgi.c:1103: warning: pipe2 is not implemented and will always fail lighttpd is single-threaded so there is no race with pipe() and then fcntl() F_SETFD FD_CLOEXEC on the pair of pipe fds. Using pipe2() where available is still slightly more efficient by eliding the syscalls to set FD_CLOEXEC.personal/stbuehler/mod-csrf
1 changed files with 12 additions and 12 deletions
Loading…
Reference in new issue