avr-libc-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-commit] [2301] 2012-11-16 Eric B.


From: Eric Weddington
Subject: [avr-libc-commit] [2301] 2012-11-16 Eric B.
Date: Fri, 16 Nov 2012 21:06:45 +0000

Revision: 2301
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2301
Author:   arcanum
Date:     2012-11-16 21:06:44 +0000 (Fri, 16 Nov 2012)
Log Message:
-----------
2012-11-16  Eric B. Weddington <address@hidden>

        Fix for bug #35539. Thanks to Georg-Johann Lay for fix.
        * include/stdlib.h (EXIT_SUCCESS, EXIT_FAILURE): Add.

Ticket Links:
------------
    http://savannah.gnu.org/bugs/?35539

Modified Paths:
--------------
    trunk/avr-libc/ChangeLog
    trunk/avr-libc/NEWS
    trunk/avr-libc/include/stdlib.h

Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog    2012-09-18 14:56:50 UTC (rev 2300)
+++ trunk/avr-libc/ChangeLog    2012-11-16 21:06:44 UTC (rev 2301)
@@ -1,3 +1,8 @@
+2012-11-16  Eric B. Weddington <address@hidden>
+
+       Fix for bug #35539. Thanks to Georg-Johann Lay for fix.
+       * include/stdlib.h (EXIT_SUCCESS, EXIT_FAILURE): Add.
+
 2012-09-18  Joerg Wunsch <address@hidden>
 
        * include/avr/xmega.h: New file, implement _PROTECTED_WRITE.

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2012-09-18 14:56:50 UTC (rev 2300)
+++ trunk/avr-libc/NEWS 2012-11-16 21:06:44 UTC (rev 2301)
@@ -6,6 +6,7 @@
   [#35197] sleep.h _BV defined as __BV in AT90S8515 section
   [#35226] Online-documentation broken - [...]
   [#35398] assert doesn't work unless stdlib.h is also included
+  [#35539] stdlib.h does not provide EXIT_SUCCESS et al.
   [#36454] string.h: Error for long long in C90
   [#36581] avr-libc: pgmspace.h is not ANSI compliant
   [no-id]  XXX_vect_num not consistent io90pwmx.h, iousbxx6_7.h

Modified: trunk/avr-libc/include/stdlib.h
===================================================================
--- trunk/avr-libc/include/stdlib.h     2012-09-18 14:56:50 UTC (rev 2300)
+++ trunk/avr-libc/include/stdlib.h     2012-11-16 21:06:44 UTC (rev 2301)
@@ -655,6 +655,18 @@
 extern char *dtostrf(double __val, signed char __width,
                      unsigned char __prec, char *__s);
 
+/**
+   \ingroup avr_stdlib
+    Successful termination for exit(); evaluates to 0.
+*/
+#define EXIT_SUCCESS 0
+
+/**
+   \ingroup avr_stdlib
+    Unsuccessful termination for exit(); evaluates to a non-zero value.
+*/
+#define EXIT_FAILURE 1
+
 /address@hidden/
 
 #if 0  /* not yet implemented */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]