HomeFreeBSD

Unbreak syslogd after r310494

Description

Unbreak syslogd after r310494

Don't close all file descriptors greater than STDERR_FILENO (2) in
waitdaemon(..) -- only close fd (file descriptor for /dev/null used in
subsequent calls to dup2) if it's greater than STDERR_FILENO.

Reported by: subbsd@gmail.com, danny@cs.huji.ac.il
Pointyhat to: hrs
X-MFC with: r310494

Details

Provenance
ngieAuthored on
Parents
rS310503: style(9): delete stray trailing whitespace after break statement
Branches
Unknown
Tags
Unknown