From: Andreas Schwab <schwab@linux-m68k.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Sergey Senozhatsky <sergey.senozhatsky@mail.by>,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: possible regression with pty.c commit
Date: Mon, 20 Jul 2009 01:07:09 +0200 [thread overview]
Message-ID: <m2prbw6zmq.fsf@igel.home> (raw)
In-Reply-To: <20090713124834.5c3ecc5d@lxorguk.ukuu.org.uk> (Alan Cox's message of "Mon, 13 Jul 2009 12:48:34 +0100")
Here is a testcase with expect:
#!/usr/bin/expect -f
spawn echo foo bar
expect {
"foo bar" {puts $expect_out(buffer)}
}
With d945cb9cce20ac7143c2de8d88b187f62db99bdc reverted, I get the
expected output:
$ expect -f pty.exp
spawn echo foo bar
foo bar
foo bar
Without the revert the expect process receives EIO when it tries to read
the output of the echo process which already died.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
prev parent reply other threads:[~2009-07-19 23:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-11 19:15 possible regression with pty.c commit Sergey Senozhatsky
2009-07-11 22:24 ` Alan Cox
2009-07-11 23:55 ` Sergey Senozhatsky
2009-07-13 11:48 ` Alan Cox
2009-07-13 16:41 ` Sergey Senozhatsky
2009-07-14 16:28 ` Sergey Senozhatsky
2009-07-14 22:57 ` Pierre Willenbrock
2009-07-15 10:05 ` Alan Cox
2009-07-15 10:27 ` Sergey Senozhatsky
2009-07-15 10:30 ` Alan Cox
2009-07-15 17:03 ` Sergey Senozhatsky
2009-07-17 0:51 ` Dave Young
2009-07-17 8:34 ` Sergey Senozhatsky
2009-07-17 13:34 ` Dave Young
2009-07-19 23:07 ` Andreas Schwab [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2prbw6zmq.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=akpm@linux-foundation.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=sergey.senozhatsky@mail.by \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox