summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2016-04-14 12:39:28 +0200
committerBernhard Voelker <mail@bernhard-voelker.de>2016-04-14 12:39:28 +0200
commit9a2e8ac489d7f7b2af4e1468f6174db9106eb9e4 (patch)
tree321ec73641cd24d324fbb22f297cd042742e125b /NEWS
parent81e589021d9c47e4fbc4284e82881a9703246476 (diff)
downloadcoreutils-9a2e8ac489d7f7b2af4e1468f6174db9106eb9e4.tar.xz
seq: do not allow NaN arguments
* src/seq.c (isnan): Define macro. (scan_arg): Add check if the given argument is NaN, and exit with a proper error diagnostic in such a case. (usage): Document it. * tests/misc/seq.pl: Add tests. * doc/coreutils.texi (seq invocation): Document the change. * NEWS (Changes in behavior): Mention the change.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 13af70242..4cb5caf84 100644
--- a/NEWS
+++ b/NEWS
@@ -17,7 +17,8 @@ GNU coreutils NEWS -*- outline -*-
** Changes in behavior
- seq no longer accepts 0 value as increment argument.
+ seq no longer accepts 0 value as increment, and now also rejects NaN
+ values for any argument.
stat now outputs nanosecond information for time stamps even if
they are out of localtime range.