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 authentication level.

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

Submitted by:  Joerg Wunsch <joerg_wunsch>
Submitted on:  Thu 12 Sep 2013 03:00:12 PM UTC  
Should Start On:  Wed 11 Sep 2013 10:00:00 PM UTC Should be Finished on:  Mon 30 Dec 2013 11:00:00 PM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Percent Complete:  0% Assigned to:  None
Open/Closed:  Open Effort:  0.00

Thu 12 Sep 2013 03:00:12 PM UTC, 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
  • -email is unavailable- added by joerg_wunsch
  • -email is unavailable- added by joerg_wunsch (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.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-12 joerg_wunsch Carbon-Copy- => Added awachtler

    Back to the top

    Powered by Savane 3.6