taskAVR Downloader/UploaDEr - Tasks: task #12841, Remove all calls to exit() from...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

task #12841: Remove all calls to exit() from library code

Submitted by:  Joerg Wunsch <joerg_wunsch>
Submitted on:  Thu Sep 12 15:00:12 2013  
 
Should Start On: Wed Sep 11 22:00:00 2013Should be Finished on: Mon Dec 30 23:00:00 2013
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Open/Closed: OpenEffort: 0.00

Thu Sep 12 15:00:12 2013, original submission:

Everything that goes into libavrdude.a (and potentially also
libavrdude.so later on) must not call exit() by itself.

Fix everything to return a correct status to the next higher
layer (and make sure the status is checked there).

For malloc() failure, provide for a central point of return
in main.c, like avrdude_malloc_failure() that can perform
the exit. Any user of the library is then responsible of
providing their own method for this rare situation.

Joerg Wunsch <joerg_wunsch>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch
  • -unavailable- added by joerg_wunsch (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Sep 12 15:02:26 2013joerg_wunschCarbon-Copy-=>Added awachtler

    Back to the top


    Powered by Savane 3.1-cleanup