Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67995 - dlint uses depreciated options in head
Summary: dlint uses depreciated options in head
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-18 04:23 UTC by Ray Booysen
Modified: 2004-10-19 07:11 UTC (History)
0 users

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


Attachments
Patch for Dlint (dlint-patch.patch,1.60 KB, patch)
2004-10-18 04:29 UTC, Ray Booysen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ray Booysen 2004-10-18 04:23:10 UTC
dlint script uses head and passes depreciated parameters (-5 -1).  These should be -n 5 -n 1

Reproducible: Always
Steps to Reproduce:
1. run dlint <your domain>
2. 
3.

Actual Results:  
head complains about depreciated parameters

Expected Results:  
dlint should run without warnings
Comment 1 Ray Booysen 2004-10-18 04:29:23 UTC
Created attachment 42091 [details, diff]
Patch for Dlint

This patch fixes the bug
Comment 2 Ray Booysen 2004-10-18 04:56:32 UTC
Head is part of the coreutils package
Comment 3 Andrej Kacian (RETIRED) gentoo-dev 2004-10-19 07:11:00 UTC
Thanks for the patch, but this can be handled by sed magic instead of patch (one less file to transfer during sync). Also, `tail +<number>` is deprecated too, I got quite a few errors regarding that when running dlint. Fixed that using sed too.

Also, I have added sys-apps/coreutils to RDEPEND, as you mentioned.

Thanks for reporting this, 1.4.0-r1 is in CVS now, should be hitting mirrors in few hours.