bugAVR C Runtime Library - Bugs: bug #35539, stdlib.h does not provide...

 
 

bug #35539: stdlib.h does not provide EXIT_SUCCESS et al.

Submitted by:  Georg-Johann Lay <gjlayde>
Submitted on:  Wed 15 Feb 2012 09:50:54 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 9 - ImmediateItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.8.0Fixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 16 Nov 2012 09:07:30 PM UTC, comment #4:

Fixed. Thanks Johann!

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Fri 16 Nov 2012 08:44:19 PM UTC, comment #3:

Just do

#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1

Georg-Johann Lay <gjlayde>
Fri 16 Nov 2012 06:30:36 PM UTC, comment #2:

What are these macros supposed to be? Does someone have a patch?

Eric Weddington <arcanum>
Project AdministratorIn charge of this item.
Wed 15 Feb 2012 10:40:26 PM UTC, comment #1:

We should probably audit the standard to ensure there are no
more slips like that one.

Joerg Wunsch <joerg_wunsch>
Project Administrator
Wed 15 Feb 2012 09:50:54 PM UTC, original submission:

Exactly like the summary:

stdlib.h should provide values for EXIT_SUCCESS and EXIT_FAILURE but fails to do so.

Georg-Johann Lay <gjlayde>

 

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

Attach File(s):
   
   
Comment:
   

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 arcanum (Posted a comment)
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by gjlayde (Submitted the item)
  •  

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 16 Nov 2012 09:07:30 PM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
    Fri 16 Nov 2012 06:30:36 PM UTCarcanumPriority5 - Normal=>9 - Immediate

    Back to the top


    Powered by Savane 3.1-cleanup