TIOCGWINSZ retuns old pty size after receiving SIGWINCH
Quoted 3 lines · On Sun, 5 Oct 2008 13:03:30 +0100 Alan Cox <[email protected]> wrote:
The relevant fixes were pushed and are in the current -rc series kernels. The tty mutex now locks the TIOCG/SWINSZ calls using the tty mutex lock of the tty side of tty/pty pairs.
Thanks! I didn't notice that.
Regards,
Signature · 5 lines
~ Kanru Chen <[email protected]> 'v' http://stu.csie.ncnu.edu.tw/~kanru.96/ // \\ GnuPG-Key ID: 365CC7A2 /( )\ Fingerprint: 3278 DFB4 BB28 6E8C 9E1F 1ECB B1B7 5B5F 365C C7A2 ^`~'^