diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-10-15 02:18:35 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-06-24 17:04:01 +0100 |
commit | 4d2d6c5b7c455392617609ae21b6b21879e12975 (patch) | |
tree | 61a3dc20fc98a7387703622e2ab986c946f7f079 /NEWS | |
parent | 32c97093db85c827ccbbf4cd4255190718863232 (diff) | |
download | coreutils-4d2d6c5b7c455392617609ae21b6b21879e12975.tar.xz |
factor: avoid interspersed lines for parallel runs
* src/factor.c (n_out): A new global variable to track
how much data has been written to stdout.
(print_factors_single): Use n_out to determine whether
to flush the current (and previous) lines.
* tests/misc/factor-parallel.sh: Add a new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the bug fix.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,9 @@ GNU coreutils NEWS -*- outline -*- file types, a warning is issued for source directories with duplicate names, or with -H the directory is copied again using the symlink name. + factor avoids writing partial lines, thus supporting parallel operation. + [the bug dates back to the initial implementation] + head, od, split, tac, tail, and wc no longer mishandle input from files in /proc and /sys file systems that report somewhat-incorrect file sizes. |