patch-2.1.37 linux/drivers/char/vt.c
Next file: linux/drivers/char/wdt.c
Previous file: linux/drivers/char/vga.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Mon May 12 10:35:40 1997
- Orig file:
v2.1.36/linux/drivers/char/vt.c
- Orig date:
Wed Apr 23 19:01:18 1997
diff -u --recursive --new-file v2.1.36/linux/drivers/char/vt.c linux/drivers/char/vt.c
@@ -123,6 +123,7 @@
}
}
+ read_lock(&tasklist_lock);
for_each_task(p)
{
if ( p->tty && MAJOR(p->tty->device) == TTY_MAJOR &&
@@ -131,6 +132,7 @@
send_sig(SIGWINCH, p, 1);
}
}
+ read_unlock(&tasklist_lock);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov