diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-05-30 08:53:55 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-05-30 08:53:55 -0600 |
commit | ab7516bd7c444d34950354e9ee207aeeb478be59 (patch) | |
tree | 30c13964c611a9373f931bf08f90d8f8f25d2f41 /nuttx/ChangeLog | |
parent | c4c17d3adb8096a5bc73cbe789897d1da8bc61a6 (diff) | |
download | nuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.tar.gz nuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.tar.bz2 nuttx-ab7516bd7c444d34950354e9ee207aeeb478be59.zip |
snprintf(): If size is zero, then snprintf() should return the size of the required buffer without writing anyting. From Sami Pelkonen
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 4518aec22..f6d5c674a 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -7382,3 +7382,6 @@ * arch/arm/src/stm32/stm32_rtcc.c: Add retry logic to RTC initialization. It sometimes takes longer for the RTC to initialize, at least as noted on an F2 part. From dlsitzer (2014-5-27). + * libc/stdio/lib_snprintf.c: If the size passed to snprintf() is zero, + then snprintf() must write nothing, but instead return the size of the + buffer needed to hold the entire string. From Sami Pelkonen (2014-5-30). |