Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173368 - sys-apps/file 4.20 - problems processing a file containing only a large number of LFs
Summary: sys-apps/file 4.20 - problems processing a file containing only a large numbe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://mx.gw.com/pipermail/file/2007/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-04 16:46 UTC by Icebird2000
Modified: 2007-04-07 10:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix for DOS (file-4.20-dos-bug.patch,634 bytes, patch)
2007-04-04 16:47 UTC, Icebird2000
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Icebird2000 2007-04-04 16:46:42 UTC
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 Icebird2000 2007-04-04 16:47:15 UTC
Created attachment 115460 [details, diff]
Fix for DOS
Comment 2 SpanKY gentoo-dev 2007-04-07 10:04:40 UTC
added 4.20-r1