-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
None
-
Latest Qt Creator from git://gitorious.org/qt-creator/qt-creator.git master branch:
commit 5364f5c152a2cdbcdb3abb1b80b658474e081411
Author: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Date: Fri May 21 17:46:00 2010 +0200
-
10ac946825f8df9a5f3916e4507ac2ba492ddc4e, 5a6de0ad5e18e6770ac1e4f6d4def22f1847c85e
Incorrect data received through Maemo SSH connection in the latest Qt Creator master branch.
MaemoSshRunner ( src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp ) incorrectly handles m_potentialEndMarkerPrefix in some cases.
1) (very rarely) m_potentialEndMarkerPrefix is not cleared between different actions.
2) (very often) void MaemoSshRunner::handleRemoteOutput() - m_potentialEndMarkerPrefix is forgotten in case if in current data packet is 2nd (last) EndMarker only. Data emitted to remoteOutput becomes incorrect, the end of the previous received packet is duplicated (m_potentialEndMarkerPrefix).
So briefly it means that this data is often useless for clients e.g. any automatic data parser.
Simple patch to show both bugs is attached.