Bug 21673

Summary: tail doesn't work correctly on files >=2GB
Product: Base System Reporter: whs <whs>
Component: miscAssignee: dwmalone
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
tail.diff.gz none

Description whs 2000-10-01 15:50:02 UTC
tail doesn't work correctly on files >=2GB due to use of mmap on entire file
This patch fixes that (and restricts use of tail to the latter 1GB of a file,
should be much less of a bug :)

How-To-Repeat: tail on file > 2G
Comment 1 dwmalone 2000-10-01 15:59:26 UTC
On Sun, Oct 01, 2000 at 07:48:07AM -0700, whs@xs4all.nl wrote:

This has already been reported in PR 14786:

	http://www.FreeBSD.org/cgi/query-pr.cgi?pr=14786

Could you have a look and tell me what you think of the patch
there?

	David.
Comment 2 Johan Karlsson freebsd_committer freebsd_triage 2000-10-02 19:50:15 UTC
State Changed
From-To: open->closed

Duplicate of PR 14786. 

Please do submit the feedback David asked for either to 
this PR or to PR 14786 by sending mail to 
'freebsd-gnats-submit@FreeBSD.org' with either 
"Re: misc/21673: tail doesn't work correctly on files >=2GB" 
or 
"Re: bin/14786: tail breaks on large files"  
as subject.  

David wants the feedback if it is sent to this PR. 



Comment 3 Johan Karlsson freebsd_committer freebsd_triage 2000-10-02 19:50:15 UTC
Responsible Changed
From-To: freebsd-bugs->dwmalone