[Top][All Lists]

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

bug#9089: pipe failure with cat and head of coreutils 6.12

From: Assaf Gordon
Subject: bug#9089: pipe failure with cat and head of coreutils 6.12
Date: Fri, 18 Jan 2019 00:17:35 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

close 9089

(triaging old bugs)


On 2011-07-15 5:30 a.m., Philipp Thomas wrote:
I'm trying to track down a bug in cat of coreutils 6.12. Doing

cat /var/log/Xorg.0.log | head -n70

under ksh consistently fails with 'cat: write error: Connection reset by
peer'.  It does not fail when run under bash and it does not fail in current
coreutils .

I'm still able to reproduce this problem (i.e. "cat: write error"
with coreutils 6.12 under ksh on Linux 4.9.0).

Given that it is has been seven and a half years ago since the last
comment, and even then it was already acknowledged that the problem does
not happen in later versions, and it happens because ksh uses socketpairs instead of pipes - I'm closing this bug.

If the issue of cat(1) supporting socketpair/ECONNRESET instead of
pipes/EPIPE is still relevant, we can re-open the bug.

 - assaf

reply via email to

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