diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2016-04-14 12:39:28 +0200 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2016-04-14 12:39:28 +0200 |
commit | 9a2e8ac489d7f7b2af4e1468f6174db9106eb9e4 (patch) | |
tree | 321ec73641cd24d324fbb22f297cd042742e125b /NEWS | |
parent | 81e589021d9c47e4fbc4284e82881a9703246476 (diff) | |
download | coreutils-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-- | NEWS | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |