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

Previous Next

Package: coreutils;

Reported by: Ambrose Feinstein <ambrose <at> google.com>

Date: Sat, 15 Oct 2011 20:58:01 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Erik Auerswald <auerswal <at> unix-ag.uni-kl.de>
To: bug-coreutils <at> gnu.org
Subject: Re: bug#9762: tac fails when given multiple non-seekable inputs
	due to misuse of mkstemp()
Date: Sun, 16 Oct 2011 01:13:52 +0200
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: cannot create temporary file in `/tmp': Invalid argument
a
$ tac --version
tac (GNU coreutils) 8.13
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Jay Lepreau and David MacKenzie.


Erik




This bug report was last modified 13 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.