summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/contrib
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2010-01-26 03:42:34 +0000
committerneel <neel@FreeBSD.org>2010-01-26 03:42:34 +0000
commitc1aec8d8e06eaf4b4e5066794fecde82622b6366 (patch)
treeae02fdd056bf4a2b7c3540d7b561414935a6aef8 /contrib/sendmail/contrib
parent481c7be91d595eecf205afe64080579755228ec5 (diff)
downloadFreeBSD-src-c1aec8d8e06eaf4b4e5066794fecde82622b6366.zip
FreeBSD-src-c1aec8d8e06eaf4b4e5066794fecde82622b6366.tar.gz
Create the "cfecons" tty directly using tty_makedev(). It is not clear what
the intention of having two ttys pointing to the same cfe console device was. Also we were not initializing the output[] array passed in as input to tty_makedev() so one name of the ttys was garbage. Fix the code that calls cfe_write() to deal with the case where only a partial buffer is written out. cfe_cngetc() needs to return if there is no character available as input. If we don't do this then the cfe_timeout() function will spin forever because cfe_cngetc() will only ever return if there is valid input. Approved by: imp (mentor)
Diffstat (limited to 'contrib/sendmail/contrib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud