]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: mention "printf %d ''" change
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Nov 2024 22:01:32 +0000 (14:01 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 19 Nov 2024 22:01:32 +0000 (14:01 -0800)
NEWS

diff --git a/NEWS b/NEWS
index ef57baa3a973f4dd6a019fea2ae988be3b6f58d9..1852f311f9647cd39c67c82e73d5e9d26a23e398 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,11 @@ GNU coreutils NEWS                                    -*- outline -*-
   Previously it would have ignored the affinity mask on such systems.
   [bug introduced with nproc in coreutils-8.1]
 
+  printf now diagnoses attempts to treat empty strings as numbers,
+  as per POSIX. For example, "printf '%d' ''" now issues a diagnostic
+  and fails instead of silently succeeding.
+  [This bug was present in "the beginning".]
+
   'shuf' generates more-random output when the output is small.
   [bug introduced in coreutils-8.6]