cvs commit: src/sys/platform/vkernel/platform console.c

Simon Schubert corecode at crater.dragonflybsd.org
Thu Jun 7 15:59:15 PDT 2007


corecode    2007/06/07 15:58:22 PDT

DragonFly src repository

  Modified files:
    sys/platform/vkernel/platform console.c 
  Log:
  Try hard to restore the termios state on exit/reboot.
  
  tcsetattr() can be interrupted by spurious SIGIO from the kqueue, so
  try setting the state until it succeeds.  Add an EVENTHANDLER so that
  the tty state will be restored for a possible kernel reboot.
  
  Revision  Changes    Path
  1.16      +7 -1      src/sys/platform/vkernel/platform/console.c


http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/console.c.diff?r1=1.15&r2=1.16&f=u





More information about the Commits mailing list