Bug 21208

Summary: tar does not support 2.5 GB file
Product: Base System Reporter: trost <trost>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description trost 2000-09-11 19:00:03 UTC
	When reading a file larger than about 2 GB in a tar file,
	tar claims that the file size is negative; e.g.

		$ tar tfvv /tmp/!
		-rw-r----- 236/236 -1751465006 Aug  1 15:13 2000 bigfile
		tar: Skipping to next file header...

Fix: 

I assume that someone is treating the size as a signed int when
	they shouldn't be.  For what it's worth, GNU tar 1.13 can read the
	file in question.
How-To-Repeat: 
	Make a big file.  Tar it.  Untar it.
Comment 1 kazarov 2001-01-28 13:31:09 UTC
This hirts me too.
Dmitry
Comment 2 Mark Stosberg 2001-09-26 21:23:46 UTC
This appears to be a duplicate of bug #28820
Comment 3 Matt Jacob freebsd_committer freebsd_triage 2001-10-02 05:52:31 UTC
Responsible Changed
From-To: freebsd-bugs->mjacob

I'll take it for the moment.
Comment 4 Matt Jacob freebsd_committer freebsd_triage 2001-12-11 00:04:30 UTC
Responsible Changed
From-To: mjacob->freebsd-bugs

I don't have time to work on this in the way it should be done.
Comment 5 perisa 2002-05-29 01:41:15 UTC
Please close the PR due to feedback timeout

Thanks

Marc
Comment 6 perisa 2002-05-29 01:42:31 UTC
Marc Perisa wrote:

> Please close the PR due to feedback timeout
>
> Thanks
>
> Marc
>
>
Sorry,

I copied the wrong mail template ... The right one is:

Please close this PR. It is better described at

http://www.freebsd.org/cgi/query-pr.cgi?pr=gnu/24903

Thanks

Marc
Comment 7 Maxim Sobolev freebsd_committer freebsd_triage 2002-06-04 18:57:36 UTC
State Changed
From-To: open->patched

Modern GNU tar which was just imported into the -CURRENT doesn't have this 
problem. Therefore, the problem will befilly resolved when tar upgrade is 
MFC'ed in about 1 month.
Comment 8 Johan Karlsson freebsd_committer freebsd_triage 2002-08-22 18:18:02 UTC
State Changed
From-To: patched->closed

GNU tar 1.13.25 has been MFCed.