Already fixed in the linuxconsole 2.4.X backport http://startx.times.lv/
Aivils Stoss
--- linus-2.5/drivers/char/vt_ioctl.c Mon Nov 4 11:33:57 2002
+++ linus-2.5/drivers/char/vt_ioctl.c.changed Mon Nov 4 11:36:45 2002
@@ -1089,17 +1089,17 @@ int vt_ioctl(struct tty_struct *tty, str
if (!tmp) {
tmp = vc_allocate(vc->vt_newvt);
if (!tmp) {
i = vc->vt_newvt;
vc->vt_newvt = -1;
return i;
}
}
-
+ vc->vt_newvt = -1;
/*
* When we actually do the console switch,
* make sure we are atomic with respect to
* other console switches..
*/
acquire_console_sem();
complete_change_console(tmp,
vc->display_fg->fg_console);
release_console_sem();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/