[Bug runtime/13537] New: standardize error code handling
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Dec 21 21:22:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=13537
Bug #: 13537
Summary: standardize error code handling
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
Classification: Unclassified
staprun and friends have a lot of functions that return 0 for ok
and -1 (and sometimes a few other codes) for errors. This loses errno
values, and doesn't let callers discriminate between problems properly.
These should be standardized to return 0 for ok and -errno, basically
as per the kernel.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list