about summary refs log tree commit diff
path: root/src/unistd/setsid.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-01-09 00:09:54 -0500
committerRich Felker <dalias@aerifal.cx>2015-01-09 00:09:54 -0500
commitc574321d75f035ff6d2c18dfb7e3f70db60ba7bd (patch)
treec6dd514c1945362eb72f30b78ea03d0a10f8a217 /src/unistd/setsid.c
parent11ac2a6e811ff0860c7d3b3daf035dc6748fb4d4 (diff)
downloadmusl-c574321d75f035ff6d2c18dfb7e3f70db60ba7bd.tar.gz
musl-c574321d75f035ff6d2c18dfb7e3f70db60ba7bd.tar.xz
musl-c574321d75f035ff6d2c18dfb7e3f70db60ba7bd.zip
check for connect failure in syslog log opening
based on patch by Dima Krasner, with minor improvements for code size.
connect can fail if there is no listening syslogd, in which case a
useless socket was kept open, preventing subsequent syslog call from
attempting to connect again.
Diffstat (limited to 'src/unistd/setsid.c')
0 files changed, 0 insertions, 0 deletions