diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-01-09 00:09:54 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-03-30 01:41:33 -0400 |
commit | 5087ba67af3bef48ef8872e1b2ffda04623fc65b (patch) | |
tree | 01a3ecd6ddcbcc536564b65dcc0507184966c0f6 /src/linux/prlimit.c | |
parent | 2c61720d971b403dfd1e500d6efdfeaf54eb411a (diff) | |
download | musl-5087ba67af3bef48ef8872e1b2ffda04623fc65b.tar.gz musl-5087ba67af3bef48ef8872e1b2ffda04623fc65b.tar.xz musl-5087ba67af3bef48ef8872e1b2ffda04623fc65b.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. (cherry picked from commit c574321d75f035ff6d2c18dfb7e3f70db60ba7bd)
Diffstat (limited to 'src/linux/prlimit.c')
0 files changed, 0 insertions, 0 deletions