bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33761: Allow split to write into FIFOs


From: scottworley
Subject: bug#33761: Allow split to write into FIFOs
Date: Sat, 15 Dec 2018 00:00:18 -0800
User-agent: Mutt/1.10.1 (2018-07-13)

TL;DR: Attached: Patch to allow split to write into FIFOs.



Currently, split fails when its output files are FIFOs because
FIFOs cannot be ftruncate()d.  Split exits with this error message:

  split: xaa: error truncating: Invalid argument

The attached patch causes split to only attempt the ftruncate when its
output is a regular file.

Attachment: coreutils-split-into-fifos.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]