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
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.
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