bugGNUspool - Bugs: bug #36206, Completion of error handling

 
 

bug #36206: Completion of error handling

Submitter:  Markus Elfring <elfring>
Submitted:  Mon 16 Apr 2012 01:27:14 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 16 Apr 2012 05:53:46 PM UTC, comment #2: 

I suggest to avoid unchecked function calls.
Would you like to detect every error situation as early as possible?

Markus Elfring <elfring>
Mon 16 Apr 2012 05:38:54 PM UTC, comment #1: 

Both of the calls referred to are trivial. If there was an output problem in the "jdisplay" case it would appear elsewhere where it is detected.

In the "spwrite" case all that would happen is someone wouldn't get a popup message.

I believe this is of no consequence.

I'll make it just ignore the error response.

John Collins <toadwarble>
Group administrator
Mon 16 Apr 2012 01:27:14 PM UTC, original submission:  

I have looked at a few source files for your software. I have noticed that some checks for return codes are missing.

Would you like to add more error handling for return values from functions like the following?

Markus Elfring <elfring>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by toadwarble (Posted a comment)
  • -email is unavailable- added by elfring (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-6ae7.
    Corresponding source code