]> Dogcows Code - chaz/tar/commit
Fail if archive comes from a terminal.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 20 Mar 2014 14:28:25 +0000 (16:28 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 20 Mar 2014 17:46:30 +0000 (19:46 +0200)
commitb0902369e789c9aadf584799889a34637688d601
tree0b7e8b02e913f6a5c5a703d1e1e0ee882568a3d9
parentda546e69afb2120a4c8a61ecadb5a66bf56cfa5d
Fail if archive comes from a terminal.

Based on patch from Pavel Raiskup <praiskup@redhat.com>.

* gnulib.modules: Add new modules.
* src/buffer.c (_open_archive): Refuse to read archive from a tty.
* tests/Makefile.am (TESTSUITE_AT): Add iotty.at
(check_PROGRAMS): New program ttyemu
* tests/testsuite.at: Include iotty.at
* tests/iotty.at: New file.
* tests/ttyemu.c: New file.
gnulib.modules
src/buffer.c
tests/Makefile.am
tests/iotty.at [new file with mode: 0644]
tests/testsuite.at
tests/ttyemu.c [new file with mode: 0644]
This page took 0.022886 seconds and 4 git commands to generate.