diff options
author | peter <peter@FreeBSD.org> | 1996-11-18 21:48:29 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-11-18 21:48:29 +0000 |
commit | c21f06e391a9361c555f1498783c764da2a09a1d (patch) | |
tree | cd0ae43a9057711bd3ad46ee4e900e2d8cf10066 /usr.sbin/rarpd | |
parent | 3e3088cdcdbcdc346d50a3fd779e414897ed2cc6 (diff) | |
download | FreeBSD-src-c21f06e391a9361c555f1498783c764da2a09a1d.zip FreeBSD-src-c21f06e391a9361c555f1498783c764da2a09a1d.tar.gz |
put on my flame resistant suit and tempt fate by attempting to fix some of
the races in my previous commits here, and fix some other problems with
syslogd as well.
- if the child process exited early (eg: could not bind to the socket),
the boot process would hang for 30 seconds. The parent was not noticing
that the child had exited. (my fault)
- when writing to tty devices, instead of treating them like files that
need \r\n instead of \n, actually use ttymsg() which has specific code
intended to write to potentially blocking ttys safely. I had a machine
lock up last night because /dev/console on a serial port got flow control
blocked. Setting comcontrol drainwait fixed everything but syslogd which
was going into a spin trying to write to the console and completely
ignoreing everything else.
- fix a couple of nonsensical bits of code while here.. eg: wait3 takes
a pointer to an int. There is no sense in declaring it as 'union wait',
then casting the pointer to (int *), then forgetting about it.
Diffstat (limited to 'usr.sbin/rarpd')
0 files changed, 0 insertions, 0 deletions