[prev in list] [next in list] [prev in thread] [next in thread]
List: util-linux-ng
Subject: Re: Bug#1003095: /usr/bin/script: hangs when child doesn't read input fast enough
From: Karel Zak <kzak () redhat ! com>
Date: 2022-04-19 10:36:55
Message-ID: 20220419103655.gnqmga6363xqiglp () ws ! net ! home
[Download RAW message or body]
On Tue, Apr 12, 2022 at 04:25:14PM +0200, наб wrote:
> Added pty->free_buffers where we put free-to-use (fully-written-out buffers)
> instead of free()ing them; my testing indicates, that for interactive use
> we allocate a single buffer and re-use 100% of the time.
Cool.
> include/pty-session.h | 7 +++
> lib/pty-session.c | 126 ++++++++++++++++++++++++++++++++++--------
> 2 files changed, 110 insertions(+), 23 deletions(-)
Applied, thanks!
Please, next time use "Signed-off-by:" line :-)
Karel
--
Karel Zak <kzak@redhat.com>
http://karelzak.blogspot.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic