Bug 156813 - Check return codes everywhere
Summary: Check return codes everywhere
Status: CLOSED NOT A BUG
Alias: None
Product: akregator
Classification: Applications
Component: metakit plugin (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-27 23:30 UTC by Markus Elfring
Modified: 2008-11-19 19:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Elfring 2008-01-27 23:30:33 UTC
Version:            (using KDE 4.0.0)

Some checks for return codes are missing.

Examples:
Would you like to add more error handling for return values from "pthread_mutex_init" like in the constructor for the class "c4_ThreadLock" and from "fprintf" in the function "f4_DoLogProp"?
http://websvn.kde.org/trunk/KDE/kdepim/akregator/plugins/mk4storage/metakit/src/view.cpp?revision=537616&view=markup
Comment 1 Frank Osterfeld 2008-03-16 00:31:11 UTC
This is not our code but an included metakit copy, which we do not maintain (except for really critical fixes) and actually want to get rid of midterm. Currently, Akregator doesn't use multithreading and won't do in the lifetime of the metakit plugin.