[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120219213503.00044fa7@pyramind.ukuu.org.uk>
Date: Sun, 19 Feb 2012 21:35:03 +0000
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Bruno Prémont <bonbons@...ux-vserver.org>
Cc: Egmont Koblinger <egmont@...il.com>, Pavel Machek <pavel@....cz>,
Greg KH <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: PROBLEM: Data corruption when pasting large data to terminal
> Well, not sure but the closing of ptmx on sender side should force kernel
> to flush whatever is remaining independently on end-of-line (I was
> thinking I should push an EOF over the ptmx instead of closing it before
> waiting for child process though I have not yet looked-up how to do so!).
>
The behaviour for the master side on a close is to hangup the child.
You would normally wait for the child to exit first
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists