Jim Meyering
537f9da37f
tac: don't misbehave with multiple non-seekable inputs
...
* src/tac.c (copy_to_temp): Do not reuse the template buffer.
Instead, scribble only on a freshly-xstrdup'd copy each time.
Free that buffer both here, upon failure, and ...
(tac_nonseekable): ...free the buffer in caller, upon success.
* tests/misc/tac-2-nonseekable: New file.
* tests/Makefile.am (TESTS): Add it.
* NEWS (Bug fixes): Mention it.
Reported by Ambrose Feinstein in http://debbugs.gnu.org/9762 .
2011-10-17 17:44:54 +02:00
..
2011-08-08 10:11:48 +02:00
2011-09-02 14:08:40 +02:00
2011-08-31 20:00:19 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:12:38 +02:00
2011-10-01 02:15:12 +01:00
2011-08-08 10:11:48 +02:00
2011-09-16 19:09:26 +01:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-09-01 16:36:23 +02:00
2011-09-01 16:36:23 +02:00
2011-08-08 10:11:48 +02:00
2011-09-02 14:08:40 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-09-27 16:49:51 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-09-02 14:08:40 +02:00
2011-10-17 17:44:54 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00
2011-08-08 10:11:48 +02:00