summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-05-07 09:32:00 +0200
committerJim Meyering <meyering@redhat.com>2012-05-08 18:32:58 +0200
commita6f94fcebc1645b401eedacbffb5e2ebdedf0f95 (patch)
treef53d31b2f1d8555e5d3fad86782e592aa71a0c33 /NEWS
parent30071b2f5cb8135154cbc7bb0ec76c5926d2b983 (diff)
downloadcoreutils-a6f94fcebc1645b401eedacbffb5e2ebdedf0f95.tar.xz
split: avoid apparent infloop when splitting /dev/zero w/-n on the Hurd
* src/split.c (main): Use stat.st_size only for regular files. Samuel Thibault reported in http://bugs.gnu.org/11424 that the /dev/zero-splitting tests would appear to infloop on GNU/Hurd, because /dev/zero's st_size is LONG_MAX. It was only a problem when using the --number (-n) option. * NEWS (Bug fixes): Mention it. This bug was introduced with the --number option, via commit v8.7-25-gbe10739
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 2dc653151..eb954047b 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,9 @@ GNU coreutils NEWS -*- outline -*-
was particularly easy to trigger, since there, the removal of D could
precede the initial stat. [This bug was present in "the beginning".]
+ split --number=C /dev/null no longer appears to infloop on GNU/Hurd
+ [bug introduced in coreutils-8.8]
+
** New features
fmt now accepts the --goal=WIDTH (-g) option.