Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  1 Oct 2000 07:48:07 -0700 (PDT)
From:      whs@xs4all.nl
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/21673: tail doesn't work correctly on files >=2GB
Message-ID:  <20001001144807.E5DBC37B66C@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         21673
>Category:       misc
>Synopsis:       tail doesn't work correctly on files >=2GB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 01 07:50:02 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001001144807.E5DBC37B66C>