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: Paul Eggert
Subject: bug#33761: Allow split to write into FIFOs
Date: Sat, 15 Dec 2018 12:20:00 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Thanks for reporting that. I see similar problems in a couple of other coreutils programs. The style elsewhere seems to be to try ftruncate first, and report an error if it fails only if the file is not one for which POSIX specifies the behavior, so I think it'd be better if 'split' did that too. So I installed the attached patch to fix the problems that I found, and this should fix the bug you reported so I'll close the bug report.

Thanks also for the test case. To install that I'll need a copyright assignment form signed; can you do that for us? If so, please let me know and I'll get the paperwork ball rolling for you.

Attachment: 0001-shred-sort-split-fix-ftruncate-error-reporting.patch
Description: Text Data


reply via email to

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