Re[2]: 2002-07-10 changes in subshell.c

Hey, Pavel! :)

PR> I understand there are two separate problems.  One problem is that
PR> TIOCSWINSZ doesn't work on pty as it should.  Another problem is that it's
PR> possible for ioctl() to return a non-zero value without errno becoming
PR> non-zero.

Not exactly. There are two problems with TIOCSWINSZ handling on pty

  1. ioctl() returns always -1 but leaves errno untouched.
  2. TIOCSWINSZ doesn't work with pty childs :)

Other than that ioctl()s on Cygwin return non-zero on error (-1), as on
Linux, and set the errno appropriately.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]