From nobody@FreeBSD.ORG  Sun Oct  1 07:48:07 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id E5DBC37B66C; Sun,  1 Oct 2000 07:48:07 -0700 (PDT)
Message-Id: <20001001144807.E5DBC37B66C@hub.freebsd.org>
Date: Sun,  1 Oct 2000 07:48:07 -0700 (PDT)
From: whs@xs4all.nl
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: tail doesn't work correctly on files >=2GB
X-Send-Pr-Version: www-1.0

>Number:         21673
>Category:       misc
>Synopsis:       tail doesn't work correctly on files >=2GB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    dwmalone
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 01 07:50:02 PDT 2000
>Closed-Date:    Mon Oct 2 11:50:15 PDT 2000
>Last-Modified:  Mon Oct 02 11:56:20 PDT 2000
>Originator:     W.Scholten
>Release:        3.3
>Organization:
>Environment:
FreeBSD localhost 3.3-RELEASE FreeBSD 3.3-RELEASE #28
>Description:
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
>Fix:
begin 644 tail.diff.gz
M'XL("'1'USD``W1A:6PN9&EF9@"54LN.FT`0/,-75$X!`UX&.W[*EHF6/!3O
M0_9&.2)B!AN%!32,%6VB_??T#+9C;;R'<&&FN[JFNJO3/,O@B?TM9)(7W4KD
MVZNL$C\3D78W.O;W:GJ>=PEFW%0EPEH``[#1A/4F_3'8>#PR'<=YP6&L]R7N
M-A)@8(.)SQ0V\'W?7"S@!<QW!W#4;XC%PH0A^#9O)!>HLBR6:/)??'H>WNP2
M@4ZM8NVQD8F04],QVH+'QZ2.Z8@9?`(1+,]@O;$4$<6:[[4W;V2LKK9-66*6
M>U%.6SF![XY(3L!<]J[5<\K#>"8ZQ[CJ(&ST,T@KWI1O)79)F18<!2\Q1_#Q
M/3:5$'PCBZ<).E=4HR1H`7-86J8-Y@][PSX;!3T;OPEBG`G74.]?:%^U:1PZ
M>2U[UN"!2L6?3><P"DL/C%+J0>OVZW+IMN*(3/U<TS-`W_WJ[B%>1>&UBYOP
M/EY_"E<1G;.<VJRLK+;=HP3?MC&;:=2'\/,RNFX[^C^2DW&7R,B&G`MAV=.7
MCFC7>@/:'B?H]X]+1!ZMN83<<?T4ZBHOU?+("H)G!5FC<R1B*W=(\Z8NDB>>
M=I5;,"ZL"KEQW,1O*ZMV]8W4>'JD6</Y#^J&FBFJ<FN?5[I81]&7>!T]Z+X\
:U@[G5%;INO,*YSB)BZ6OC^(/]8%B0MH#``"&
`
end


>Release-Note:
>Audit-Trail:

From: David Malone <dwmalone@maths.tcd.ie>
To: whs@xs4all.nl
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/21673: tail doesn't work correctly on files >=2GB
Date: Sun, 1 Oct 2000 15:59:26 +0100

 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.
 
State-Changed-From-To: open->closed 
State-Changed-By: johan 
State-Changed-When: Mon Oct 2 11:50:15 PDT 2000 
State-Changed-Why:  
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. 



Responsible-Changed-From-To: freebsd-bugs->dwmalone 
Responsible-Changed-By: johan 
Responsible-Changed-When: Mon Oct 2 11:50:15 PDT 2000 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=21673 
>Unformatted:
