patch-1.3.99 linux/drivers/char/pty.c
Next file: linux/drivers/char/random.c
Previous file: linux/drivers/char/psaux.c
Back to the patch index
Back to the overall index
-  Lines: 10
 -  Date:
Mon May  6 14:56:04 1996
 -  Orig file: 
v1.3.98/linux/drivers/char/pty.c
 -  Orig date: 
Sat Apr 27 15:19:51 1996
 
diff -u --recursive --new-file v1.3.98/linux/drivers/char/pty.c linux/drivers/char/pty.c
@@ -181,7 +181,9 @@
 
 int pty_open(struct tty_struct *tty, struct file * filp)
 {
+#if PTY_SLAVE_WAITS_ON_OPEN
 	struct wait_queue wait = { current, NULL };
+#endif
 	int	retval;
 	int	line;
 	struct	pty_struct *pty;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this