Bug 18546 - tar cannot read from pipe
Summary: tar cannot read from pipe
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: tar
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
: 20608 22569 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 2000-10-06 16:12 UTC by olex
Modified: 2005-10-31 22:00 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2000-10-06 16:12:22 UTC

Attachments (Terms of Use)

Description olex 2000-10-06 16:12:18 UTC
tar fails when reading from a pipe. The following example first creates a
small compressed tar file, and proceeds to display the error:

# make test archive
# file1 and file2 are just some files
tar zcf test.tgz file1 file2

# this is the error
cat test.tgz | tar tvzf -

On my i810 celeron 633, this last command newer finishes. However, "tar
tvfz test.tgz" works as excepted.

Of course, letting tar read from a pipe works on older Red Hat releases.

Comment 1 Bernhard Rosenkraenzer 2000-10-06 17:02:59 UTC
Noticed and fixed a couple of days ago.

Comment 2 Daniel Roesen 2000-11-10 05:23:11 UTC
*** Bug 20608 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Roesen 2000-12-20 08:06:54 UTC
*** Bug 22569 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.