Review Request: Skip over potential error messages from "df"

Christoph Feck christoph at maxiom.de
Thu Jan 5 19:35:14 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/103633/
-----------------------------------------------------------

Review request for KDE Utils and Raphael Kubo da Costa.


Description
-------

As seen in bug 289671, "kdf" aborts (crashes) when the "df" output does not start with "Filesystem". The error message from gvfs is marked as WONTFIX in upstream bug trackers, so we have to deal with those messages.

The proposed patch skips any leading messages, and only aborts when no "Filesystem" string could be found.


This addresses bug 289671.
    http://bugs.kde.org/show_bug.cgi?id=289671


Diffs
-----

  disklist.cpp dbaf49c 

Diff: http://git.reviewboard.kde.org/r/103633/diff/diff


Testing
-------


Thanks,

Christoph Feck

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20120105/7d801a34/attachment.html>


More information about the Kde-utils-devel mailing list