summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-07-04 13:01:56 +0200
committerJim Meyering <meyering@redhat.com>2012-07-04 13:32:24 +0200
commitcc322ddd16607c0c8e978e5003008344e2710ec9 (patch)
treeeceb3dd878d732733986ed1359654c9b110c6cb2 /NEWS
parent74427c76d7be2a5522a8d24e29bfa63c299dbbce (diff)
downloadcoreutils-cc322ddd16607c0c8e978e5003008344e2710ec9.tar.xz
date: fails to diagnose invalid input
date -d "$(printf '\xb0')" would print 00:00:00 with today's date rather than diagnosing the invalid input. Now it reports this: date: invalid date '\260' * gnulib: Update submodule to latest for fixed parse-datetime.y. * tests/misc/date [invalid-high-bit-set]: New test. * NEWS (Bug fixes): Mention it. * bootstrap, tests/init.sh: Also update to latest. Reported by Peter Evans in http://bugs.gnu.org/11843
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 03c600a9b..3aff3a826 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,11 @@ GNU coreutils NEWS -*- outline -*-
processes will not intersperse their output.
[the bug dates back to the initial implementation]
+ date -d "$(printf '\xb0')" would print 00:00:00 with today's date
+ rather than diagnosing the invalid input. Now it reports this:
+ date: invalid date '\260'
+ [This bug was present in "the beginning".]
+
head --lines=-N (-n-N) now resets the read pointer of a seekable input file.
This means that "head -n-3" no longer consumes all of its input, and lines
not output by head may be processed by other programs. For example, this