git: kernel - Fix multiple tty_token issues related to vt switching and X

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 1 10:58:29 PDT 2010


commit 766a68c8c4710d466edb87c875e43d114bb43af8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 1 10:56:16 2010 -0700

    kernel - Fix multiple tty_token issues related to vt switching and X
    
    * Numerous places where gettoken/reltoken was not matched up
    
    * Of particular note the multi-line macros in fbreg.h did not have
      any do/while() protection and were being used in if() macro()
      situations which caused massive issues.
    
    Reported-by: Everyone

Summary of changes:
 sys/dev/misc/kbd/kbd.c           |    5 ++++-
 sys/dev/misc/syscons/scvgarndr.c |    4 +---
 sys/dev/misc/syscons/syscons.c   |    5 ++++-
 sys/dev/video/fb/fbreg.h         |   37 +++++++++++++++++++++++++------------
 4 files changed, 34 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/766a68c8c4710d466edb87c875e43d114bb43af8


-- 
DragonFly BSD source repository





More information about the Commits mailing list