From kde-core-devel Tue Nov 15 22:29:42 2005 From: Jimmy Gilles Date: Tue, 15 Nov 2005 22:29:42 +0000 To: kde-core-devel Subject: Bug is KProcIO Message-Id: X-MARC-Message: https://marc.info/?l=kde-core-devel&m=113212207419721 Hello, i have found a bug in KProcIO. i have found a bug in KProcIO. In fact, when i use readln(...) sometimes the line is not complete because there is a \0 char in the line and the "partial" parameter is not set to true. To fix that problem i have added the line recvbuffer.replace('\0', QByteArray("")); just before the line len=recvbuffer.find ('\n',rbi)-rbi; in the file kprocio.cpp I don't know if it is the good fix but it seems to work. bye -- Jimmy Gilles