Debian bug report logs - #817 tar -T /dev/null extracts whole archive ! Package: tar ; Reported by: iwj10@cus.cam.ac.uk (Ian Jackson); 193 days old . ----------------------------------------------------------------------- Message received at debian-bugs: From cus.cam.ac.uk!iwj10 Fri Apr 21 13:24:19 1995 Return-Path: Received: from pixar.com by mongo.pixar.com with smtp (Smail3.1.28.1 #15) id m0s2PFT-000AAoA; Fri, 21 Apr 95 13:24 PDT Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA11216 (5.65c/IDA-1.4.4 for ); Fri, 21 Apr 1995 13:24:15 -0700 Received: by bootes.cus.cam.ac.uk (Smail-3.1.29.0 #30) id m0s2PFN-000BzzA; Fri, 21 Apr 95 21:24 BST Received: by chiark id m0s2OxB-0000XPA (Debian /\oo/\ Smail3.1.29.1 #29.30); Fri, 21 Apr 95 21:05 BST Message-Id: Date: Fri, 21 Apr 95 21:05 BST From: iwj10@cus.cam.ac.uk (Ian Jackson) To: Debian bugs submission address Subject: tar -T /dev/null extracts whole archive ! Precedence: air-mail Package: tar Version: 1.11.5-2 chiark:~/junk> tar -vvtf t drwxrwsr-x ian/ian 0 Apr 21 20:38 1995 d/ -rw-rw-r-- ian/ian 0 Apr 21 20:38 1995 d/a -rw-rw-r-- ian/ian 0 Apr 21 20:38 1995 d/b chiark:~/junk> rm -r d chiark:~/junk> tar --null -T /dev/null -f t -vvx drwxrwsr-x ian/ian 0 Apr 21 20:38 1995 d/ -rw-rw-r-- ian/ian 0 Apr 21 20:38 1995 d/a -rw-rw-r-- ian/ian 0 Apr 21 20:38 1995 d/b chiark:~/junk> ll d total 5 drwxrwsr-x 2 ian ian 1024 Apr 21 20:38 ./ drwxrwsr-x 17 ian ian 4096 Apr 21 21:03 ../ -rw-rw-r-- 1 ian ian 0 Apr 21 20:38 a -rw-rw-r-- 1 ian ian 0 Apr 21 20:38 b chiark:~/junk> >From tar --help (the only documentation available): -T, --files-from=NAME get names to extract or create from file NAME --null -T reads null-terminated names, disable -C It seems to me that this should instead do nothing. Now I shall have to use a temporary file rather than a pipe, as attempting to take special measures to kill the `tar' if I discover I don't have anything for it to do would be prone to failure. Yuk. Ian. ----------------------------------------------------------------------- Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson) : New bug report received and forwarded. Full text available. ----------------------------------------------------------------------- Report forwarded to debian-devel@pixar.com : Bug#817 ; Package tar . Full text available. ----------------------------------------------------------------------- Ian Jackson / iwj10@thor.cam.ac.uk , with the debian-bugs tracking mechanism This page last modified 07:43:01 GMT Wed 01 Nov