Commit Diff
- Commit:
2e2e189b016fe981fcb32e2c461a7c385cb25942
- From:
- Omar Polo <op@omarpolo.com>
- Date:
- Message:
- PF_UNIX is not a valid protocol for socketpair OpenBSD accept it, but FreeBSD disallows it. PF_UNSPEC (or 0) should be used instead. The FastCGI bit in the regress suite still doesn't work on FreeBSD, but at least now it starts.
- Actions:
- Patch | Tree
--- ex.c +++ ex.c @@ -319,7 +319,7 @@ fcgi_open_prog(struct fcgi *f) /* XXX! */ - if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNIX, s) == -1) + if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, s) == -1) err(1, "socketpair"); switch (p = fork()) {