Bug 173368 - sys-apps/file 4.20 - problems processing a file containing only a large number of LFs
Bug#: 173368 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: icebird2000@gmx.net
Component: Core system
URL:  http://mx.gw.com/pipermail/file/2007/000172.html
Summary: sys-apps/file 4.20 - problems processing a file containing only a large number of LFs
Keywords:  
Status Whiteboard: 
Opened: 2007-04-04 16:46 0000
Description:   Opened: 2007-04-04 16:46 0000
file-4.20 has problems processing a file containing only a large number of line
feed characters

Reproducible: Always

Steps to Reproduce:
1. perl -e 'for (1..2700) {print "\n" x 10}' >0.lis
2. time file 0.lis


Actual Results:  
can fix with the attached patch

------- Comment #1 From Icebird2000 2007-04-04 16:47:15 0000 -------
Created an attachment (id=115460) [details]
Fix for DOS

------- Comment #2 From SpanKY 2007-04-07 10:04:40 0000 -------
added 4.20-r1