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

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

[avr-libc-commit] [2524] Fix for bug #49020: dtostre() flags documentati


From: j
Subject: [avr-libc-commit] [2524] Fix for bug #49020: dtostre() flags documentation error: describe
Date: Wed, 7 Sep 2016 12:08:25 +0000 (UTC)

Revision: 2524
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2524
Author:   joerg_wunsch
Date:     2016-09-07 12:08:25 +0000 (Wed, 07 Sep 2016)
Log Message:
-----------
Fix for bug #49020: dtostre() flags documentation error: describe
dtostre() flags correctly.

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

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    2016-08-14 20:35:54 UTC (rev 2523)
+++ trunk/avr-libc/ChangeLog    2016-09-07 12:08:25 UTC (rev 2524)
@@ -1,3 +1,8 @@
+2016-09-07  Joerg Wunsch <address@hidden>
+
+       Fix for bug #49020: dtostre() flags documentation error
+       * include/stdlib.h: Fix documentation of dtostre() flags.
+
 2016-08-14  Aurelien Jarno  <address@hidden>
 
        Fix for bug #36933: Documentation no longer correctly describes how to
@@ -3,5 +8,5 @@
        declare strings for storage in program memory
        * doc/api/pgmspace.dox: Add const keyword to variables in PROGMEM
-       section. 
+       section.
 
 2016-04-04  Pitchumani Sivanupandi <address@hidden>

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2016-08-14 20:35:54 UTC (rev 2523)
+++ trunk/avr-libc/NEWS 2016-09-07 12:08:25 UTC (rev 2524)
@@ -3,6 +3,7 @@
 * Bugs fixed:
 
   [#36933] Documentation no longer correctly describes how to declare
+  [#49020] dtostre() flags documentation error
   strings for storage in program memory
 
 * New devices supported:

Modified: trunk/avr-libc/include/stdlib.h
===================================================================
--- trunk/avr-libc/include/stdlib.h     2016-08-14 20:35:54 UTC (rev 2523)
+++ trunk/avr-libc/include/stdlib.h     2016-09-07 12:08:25 UTC (rev 2524)
@@ -634,14 +634,14 @@
    one digit before the decimal-point character and the number of
    digits after it is equal to the precision \c prec; if the precision
    is zero, no decimal-point character appears.  If \c flags has the
-   DTOSTRE_UPPERCASE bit set, the letter \c 'E' (rather than \c 'e' ) will be
+   DTOSTR_UPPERCASE bit set, the letter \c 'E' (rather than \c 'e' ) will be
    used to introduce the exponent.  The exponent always contains two
    digits; if the value is zero, the exponent is \c "00".
 
-   If \c flags has the DTOSTRE_ALWAYS_SIGN bit set, a space character
+   If \c flags has the DTOSTR_ALWAYS_SIGN bit set, a space character
    will be placed into the leading position for positive numbers.
 
-   If \c flags has the DTOSTRE_PLUS_SIGN bit set, a plus sign will be
+   If \c flags has the DTOSTR_PLUS_SIGN bit set, a plus sign will be
    used instead of a space character in this case.
 
    The dtostre() function returns the pointer to the converted string \c s.




reply via email to

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