summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authortb@openbsd.org <tb@openbsd.org>2018-02-05 05:36:49 +0000
committerDarren Tucker <dtucker@dtucker.net>2018-02-07 07:50:46 +1100
commit5069320be93c8b2a6584b9f944c86f60c2b04e48 (patch)
treedd0f63c43b93b37d9ea52165bd5e72634c70437e /monitor.c
parent2b428f90ea1b21d7a7c68ec1ee334253b3f9324d (diff)
upstream commit
The file descriptors for socket, stdin, stdout and stderr aren't necessarily distinct, so check if they are the same to avoid closing the same fd several times. ok djm OpenBSD-Commit-ID: 60d71fd22e9a32f5639d4ba6e25a2f417fc36ac1
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions