tar doesn't stop after extracting with --occurrence parameter

Bug #302468 reported by Martin Schaaf
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tar (Ubuntu)
New
Undecided
Unassigned
Nominated for Intrepid by Martin Schaaf
Nominated for Jaunty by Martin Schaaf

Bug Description

Binary package hint: tar

I use tar 1.20. I want to extract one single file from a
16GB tar archive that is gzipped with
the following command line:

"tar -xzp --occurrence=1 --ignore-failed-read -C 'target' -f
'tgz' 'file'
>/dev/null 2>&1"

It extracts
the file after some seconds but doesn't stop. top shows a gzip process
running. After some minutes gzip stops and tar ends.

Revision history for this message
Martin Schaaf (mascha) wrote :

I got this patch from the tar ML list from Sergey Poznyakoff <email address hidden>
This patch isn't from me I only attach it here.

Revision history for this message
Martin Schaaf (mascha) wrote :

Tar version 1.21 includes the fix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.