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    [W:0.274 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site