[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Bug is KProcIO
From: Jimmy Gilles <jimmygilles () gmail ! com>
Date: 2005-11-15 22:29:42
Message-ID: c739493b0511151429j4b4fd156m () mail ! gmail ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic