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

 
 

bug #36206: Completion of error handling

Submitted by:  Markus Elfring <elfring>
Submitted on:  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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3