tty: compare the tty winsize
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:39:01 +0000 (10:39 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:41 +0000 (09:51 -0700)
commitf4d2a6c2096b764decb20070b1bf4356de9144a8
treeff1f86d51ea0a60c0a1d22df68e39dd78e625ab1
parent8f520021837d45c47d0ab57e7271f8d88bf7f3a4
tty: compare the tty winsize

We always use the real tty one for stuff so the pty one should not be
compared. As we propagate window changes to both it doesn't currently
matter but will when we tidy up the pty termios logic a bit more

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_io.c