Review Request: Fix hang in kcm_useraccount

Michael Palimaka kensington at gentoo.org
Fri Aug 10 15:11:37 BST 2012


On 2012-08-10 02:46, Rolf Eike Beer wrote:
> Ehm, no. readLine() unconditionally calls readAll(). But that will also clear
> the input buffer of the process object. So there is nothing left to read on the
> next readLine() or readAll() call.
>
> Eike
>
So you are saying:

- readAll clears the buffer
- readLine unconditionally calls readAll
- readLine may be called multiple times to read multiple lines

Is that correct?
(Again, I note that in testing, calling readAll then readLine is 
successful.)

Best regards,
Michael




More information about the kde-core-devel mailing list