Ambrose Feinstein wrote:
> 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 mkst
Jim Meyering wrote:
...
> Thank you for the report.
> In fixing that, I made three changes:
>
> maint: tac: remove sole use of sprintf in favor of stpcpy
> tac: don't misbehave with multiple non-seekable inputs
> tac: don't leak a file descriptor for each non-seekable input
>
> Before t
Jim Meyering wrote:
> Eric Blake wrote:
> ...
> > As currently coded in the grammar, this is correct. But if someone
> > were willing to put forth the effort to update parsedate.y, as well as
> > enhance the testsuite to cover things, it might be possible to improve
> > the grammar to accept both