freebsd-src/sbin/init
Ed Schouten 6ee5808be7 Properly clear the O_NONBLOCK flag after opening the TTY.
Though we should open the TTY with O_NONBLOCK to prevent rc(8) execution
from potentially stalling, we must not forget to clear the flag later
on, to prevent read(2) calls from failing later on.

This prevented the shell pathname prompt from working properly.

Reported by:	kib
2012-04-06 13:06:01 +00:00
..
Makefile
NOTES
init.8 mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
init.c Properly clear the O_NONBLOCK flag after opening the TTY. 2012-04-06 13:06:01 +00:00
pathnames.h Make init(8) slightly more robust when /dev/console is missing. 2012-03-14 16:22:09 +00:00