]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix bug 5762: detect missing accept4 that gives ENOSYS
authorNick Mathewson <nickm@torproject.org>
Fri, 4 May 2012 17:17:20 +0000 (13:17 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 4 May 2012 17:18:14 +0000 (13:18 -0400)
commita1538d607d54065c2d74c8fa695d1c0b5e33c64f
treeb4c6ab6790cbf17a6702244bb939f53839a3f935
parentc9afd6f9c5a3cf73340e528818570b4ba5cdf6b2
Fix bug 5762: detect missing accept4 that gives ENOSYS

We had been checking for EINVAL, but that means that SOCK_* isn't
supported, not that the syscall itself is missing.

Bugfix on 0.2.3.1-alpha, which started to use accept4.
changes/bug5762 [new file with mode: 0644]
src/common/compat.c