Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68624 - app-text/sloccount: deprecated tail syntax in compute_sloc_lang
Summary: app-text/sloccount: deprecated tail syntax in compute_sloc_lang
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 76102
  Show dependency tree
 
Reported: 2004-10-23 03:51 UTC by Mikael Cluseau
Modified: 2005-02-26 20:49 UTC (History)
1 user (show)

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


Attachments
Patch (sloccount-2.22-tail_deprecation.patch,468 bytes, patch)
2004-10-23 03:52 UTC, Mikael Cluseau
Details | Diff
Updated ebuild (sloccount-2.22-r1.ebuild,1.11 KB, text/plain)
2004-10-23 03:52 UTC, Mikael Cluseau
Details
Updated Changelog (ChangeLog,785 bytes, text/plain)
2004-10-23 03:52 UTC, Mikael Cluseau
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Cluseau 2004-10-23 03:51:22 UTC
sloccount show lots of deprecation warnings when running. The fix is easy, I've attached the patch.

Reproducible: Always
Steps to Reproduce:
1. sloccount <any directory containing source files>

Actual Results:  
tail: `-1' option is obsolete; use `-n 1' since this will be removed in the future

Expected Results:  
Nothing
Comment 1 Mikael Cluseau 2004-10-23 03:52:01 UTC
Created attachment 42453 [details, diff]
Patch
Comment 2 Mikael Cluseau 2004-10-23 03:52:24 UTC
Created attachment 42454 [details]
Updated ebuild
Comment 3 Mikael Cluseau 2004-10-23 03:52:50 UTC
Created attachment 42455 [details]
Updated Changelog
Comment 4 Luca Barbato gentoo-dev 2004-10-23 19:52:17 UTC
Your patch looks ok, could you try to notify upstream the issue and report back?
I think the author would be glad about that.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-26 20:39:43 UTC
lu_zero: are you going to include this patch?
i'll do it if you don't have time.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-26 20:48:00 UTC
I'm taking this, as I use sloccount often.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-26 20:49:03 UTC
I've put this in CVS now.