summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-07-09 12:54:26 +0000
committerEric Blake <ebb9@byu.net>2007-09-21 15:49:04 -0600
commit17b0fe1e6e2ba0634ad55a169a83d9eed9a182ed (patch)
tree96e065b9c4b047fb54767968830b1876ccc129e8 /NEWS
parent19a9b8eb8b199a561ed7637b9b2d1a3118bb35e3 (diff)
downloadm4-17b0fe1e6e2ba0634ad55a169a83d9eed9a182ed.tar.gz
Avoid undefined behavior of %.*c in printf.
* src/format.c (format): Special case %c. * TODO: Document that more remains to be done. * NEWS: Document the fix.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS9
1 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 98d22507..2ea92b11 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,11 @@ Foundation, Inc.
Version 1.4.10 - ?? ??? 2007, by ???? (CVS version 1.4.9c)
* Upgrade from GPL version 2 to GPL version 3 or later.
+* A number of portability improvements inherited from gnulib.
+* Avoid undefined behavior introduced in 1.4.9b in the `format' builtin
+ when handling %c. However, this area of code has never been documented,
+ and currently does not match the POSIX behavior of printf(1), so it may
+ have further changes in the next version.
Version 1.4.9b - 29 May 2007, by Eric Blake (CVS version 1.4.9a)
@@ -19,7 +24,9 @@ Version 1.4.9b - 29 May 2007, by Eric Blake (CVS version 1.4.9a)
more predictably when stdin is seekable.
* The `format' builtin now understands formats such as %a, %A, and %'hhd,
and works around a number of platform printf bugs. Furthermore, the
- sequence format(%*.*d,-1,-1,1) no longer outputs random data.
+ sequence format(%*.*d,-1,-1,1) no longer outputs random data. However,
+ some non-compliant platforms such as mingw still have known bugs in
+ strtod that may cause testsuite failures.
* The testsuite is improved to also run gnulib portability tests for the
features that M4 imports from gnulib.