Properly read stderr when data is ready from the daemon.
Needs ReviewPublic

Authored by luc4 on May 28 2019, 9:20 PM.

Details

Summary

When stderr data is sent from the daemon, it seems that libksysguard was actually reading the stdout buffer. Also, as the comment states, it was trying to read potentially incomplete UTF-8 data. This patch reads from stderr and also only reads entire lines, preventing incomplete UTF-8 data buffers.

Diff Detail

Repository
R111 KSysguard Library
Lint
Lint Skipped
Unit
Unit Tests Skipped
luc4 created this revision.May 28 2019, 9:20 PM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 28 2019, 9:20 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
luc4 requested review of this revision.May 28 2019, 9:20 PM