bug#9620: dd: bogus behavior when interrupted

2011-10-15 Thread Jim Meyering
tags 9620 notabug close 9620 thanks Pádraig Brady wrote: > On 09/27/2011 08:33 PM, Paul Eggert wrote: >> This happened with coreutils 8.13 on Fedora 14 x86-64 >> (coreutils compiled with GCC 4.6.1). I interrupted >> 'dd' with control-C, but it didn't respond right away; >> instead, it churned awa

bug#9762: tac fails when given multiple non-seekable inputs due to misuse of mkstemp()

2011-10-15 Thread Ambrose Feinstein
Trivial reproduction: $ true | tac - - tac: cannot create temporary file in `/tmp': Invalid argument This is present in coreutils 8.14. The cause is the way "template" is reused in copy_to_temp(). The "XX" suffix is clobbered by the first call to mkstemp(), so the next call returns EINVAL.

bug#9762: tac fails when given multiple non-seekable inputs due to misuse of mkstemp()

2011-10-15 Thread Erik Auerswald
Hi, On Sat, Oct 15, 2011 at 01:40:17PM -0700, Ambrose Feinstein wrote: > Trivial reproduction: > > $ true | tac - - > tac: cannot create temporary file in `/tmp': Invalid argument > > This is present in coreutils 8.14. This is present in coreutils 8.13 as well: $ tac <(echo a) <(echo b) tac: c