lkml.org 
[lkml]   [1997]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: No bug in drivers/char/vt.c
Han Holl:

: I guess I found a bug in the kernel. (My first!).
: The consoles reported back in vstat->v_state on the VT_GETSTATE request
: are shifted by one, and tty0 is reported twice. (Please don't tell me
: POSIX requires this <G>).

You did not understand the difference in numbering of tty's
and vt's (there is a shift by 1: vt's 1..63 correspond to tty's 0..62).
Your change would break X and other programs.

Andries

\
 
 \ /
  Last update: 2005-03-22 13:40    [from the cache]
©2003-2011 Jasper Spaans