Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2008 10:03:16 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 150159 for review
Message-ID:  <200809201003.m8KA3GN0032730@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=150159

Change 150159 by ed@ed_dull on 2008/09/20 10:02:40

	Small mixup: we should only call outwakeup() when there's data
	to be getc'd, not rinted.

Affected files ...

.. //depot/projects/mpsafetty/sys/sys/ttydevsw.h#9 edit

Differences ...

==== //depot/projects/mpsafetty/sys/sys/ttydevsw.h#9 (text+ko) ====

@@ -95,7 +95,7 @@
 	MPASS(!tty_gone(tp));
 
 	/* Prevent spurious wakeups. */
-	if (ttydisc_rint_poll(tp) == 0)
+	if (ttydisc_getc_poll(tp) == 0)
 		return;
 
 	tp->t_devsw->tsw_outwakeup(tp);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809201003.m8KA3GN0032730>