This improvement is due to changes to Gnulib's fprintftime module.

* NEWS: Mention the improvement.
* tests/misc/write-errors.sh: Add a date invocation.
---
 NEWS                       | 4 ++--
 tests/misc/write-errors.sh | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/NEWS b/NEWS
index 2802c0c7b..3e20b8bb9 100644
--- a/NEWS
+++ b/NEWS
@@ -65,8 +65,8 @@ GNU coreutils NEWS                                    -*- 
outline -*-
 
 ** Improvements
 
-  'fmt', 'nl', and 'pr' will now exit promptly upon receiving a write error,
-  which is significant when reading large / unbounded inputs.
+  'fmt', 'date', 'nl', and 'pr' will now exit promptly upon receiving a write
+  error, which is significant when reading large / unbounded inputs.
 
   install, sort, and split now use posix_spawn() to invoke child programs more
   efficiently and more independently from their own memory usage.
diff --git a/tests/misc/write-errors.sh b/tests/misc/write-errors.sh
index b33e84a3d..60496fc06 100755
--- a/tests/misc/write-errors.sh
+++ b/tests/misc/write-errors.sh
@@ -30,6 +30,7 @@ cat /dev/zero
 comm -z /dev/zero /dev/zero
 cut -z -c1- /dev/zero
 cut -z -f1- /dev/zero
+date +%2147483648c
 dd if=/dev/zero
 expand /dev/zero
 factor --version; yes 1 | factor
-- 
2.51.1


Reply via email to