public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/13537] New: standardize error code handling
@ 2011-12-21 21:22 fche at redhat dot com
  2012-01-10 15:47 ` [Bug runtime/13537] " cmeek at redhat dot com
  2012-03-07 19:49 ` cmeek at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2011-12-21 21:22 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/13537] standardize error code handling
  2011-12-21 21:22 [Bug runtime/13537] New: standardize error code handling fche at redhat dot com
@ 2012-01-10 15:47 ` cmeek at redhat dot com
  2012-03-07 19:49 ` cmeek at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cmeek at redhat dot com @ 2012-01-10 15:47 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13537

Chris Meek <cmeek at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |cmeek at redhat dot com
         AssignedTo|systemtap at sourceware dot |cmeek at redhat dot com
                   |org                         |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/13537] standardize error code handling
  2011-12-21 21:22 [Bug runtime/13537] New: standardize error code handling fche at redhat dot com
  2012-01-10 15:47 ` [Bug runtime/13537] " cmeek at redhat dot com
@ 2012-03-07 19:49 ` cmeek at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: cmeek at redhat dot com @ 2012-03-07 19:49 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=13537

Chris Meek <cmeek at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
         AssignedTo|cmeek at redhat dot com     |systemtap at sourceware dot
                   |                            |org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-07 19:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-21 21:22 [Bug runtime/13537] New: standardize error code handling fche at redhat dot com
2012-01-10 15:47 ` [Bug runtime/13537] " cmeek at redhat dot com
2012-03-07 19:49 ` cmeek at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).