This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/15044] New: eradicate cutesy errorish return texts


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

             Bug #: 15044
           Summary: eradicate cutesy errorish return texts
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


Several tapset functions that return strings signal abnormal inputs or
conditions by returning values like "BAD VALUE", "<unknown>", "", "NULL",
"N/A", "UNKNOWN", "far far in the future...", and my personal favorite, "a
long, long time ago...".

It would be better if, for a future --compatible=VERSION level, these tapset
functions returned errors instead, getting the caller scripts to use the
try/catch construct to handle errors.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]