Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101694 - turbotail-0.2 fails on empty file
Summary: turbotail-0.2 fails on empty file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-07 19:26 UTC by CBke -Left- bye
Modified: 2005-08-08 10:07 UTC (History)
0 users

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


Attachments
munmap only with size_t > 0 (turbotail-empty_file_patch.diff,133 bytes, patch)
2005-08-07 19:28 UTC, CBke -Left- bye
Details | Diff
unified diff (turbotail-empty_file_patch.diff,361 bytes, patch)
2005-08-08 08:50 UTC, CBke -Left- bye
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CBke -Left- bye 2005-08-07 19:26:00 UTC
turbotail dies on an empty file 



Reproducible: Always
Steps to Reproduce:
1. touch empty_file
2. turbotail empty_file

Actual Results:  
munmap failed
errno: 22=Invalid argument
Comment 1 CBke -Left- bye 2005-08-07 19:28:50 UTC
Created attachment 65377 [details, diff]
munmap only with size_t > 0
Comment 2 Stefan Briesenick (RETIRED) gentoo-dev 2005-08-08 08:26:41 UTC
please attach unified diff (-u). I will include it. 
 
Comment 3 CBke -Left- bye 2005-08-08 08:50:01 UTC
Created attachment 65441 [details, diff]
unified diff

unified diff
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2005-08-08 10:07:32 UTC
turbotail-0.2-r1 with munmap patch is in CVS now. please test. 
thanks for reporting!