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

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

Details

Reviewers
davidedmundson
mlaurent
Group Reviewers
Plasma
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