summaryrefslogtreecommitdiff
path: root/compat/vcbuild/include/unistd.h
diff options
context:
space:
mode:
authorLibravatar Eric Wong <e@80x24.org>2016-07-18 04:59:11 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-18 11:09:52 -0700
commit49c58d86ceb7816c5f0ca36e38e26cd6b8506d74 (patch)
tree4241ca444e05546e5343a78a0282e164c92601fe /compat/vcbuild/include/unistd.h
parentdaemon: enable SO_KEEPALIVE for all sockets (diff)
downloadtgif-49c58d86ceb7816c5f0ca36e38e26cd6b8506d74.tar.xz
daemon: ignore ENOTSOCK from setsockopt
In inetd mode, we are not guaranteed stdin or stdout is a socket; callers could filter the data through a pipe or be testing with regular files. This prevents t5802 from polluting syslog. Signed-off-by: Eric Wong <e@80x24.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/vcbuild/include/unistd.h')
0 files changed, 0 insertions, 0 deletions