Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66713 - allow `tail +#` syntax w/obselete warning
Summary: allow `tail +#` syntax w/obselete warning
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
: 55060 74672 81743 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-07 18:39 UTC by SpanKY
Modified: 2005-02-12 12:09 UTC (History)
3 users (show)

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


Attachments
tail.c.patch (tail.c.patch,1.40 KB, patch)
2004-10-07 18:40 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2004-10-07 18:39:12 UTC
here's the fix to enable `tail +#` syntax again ... i think it's a logic bug upstream, but whatever, this fixes it for what we want

      is obsolescent.  Return zero otherwise.  */
-  if (! ((p[0] == '+' && obsolete_usage)
+  if (! ((p[0] == '+')
         || (p[0] == '-' && (p[1] == 'l' || ISDIGIT (p[1])))))
Comment 1 SpanKY gentoo-dev 2004-10-07 18:40:07 UTC
Created attachment 41330 [details, diff]
tail.c.patch

this patch replaces the extra/002_all_coreutils-warning-tail.c.patch i created
from before
Comment 2 SpanKY gentoo-dev 2004-12-17 00:20:15 UTC
*** Bug 74672 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2004-12-19 21:33:19 UTC
*** Bug 55060 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2004-12-21 20:29:26 UTC
fixed in coreutils-5.2.1-r3
Comment 5 Mikael Magnusson 2004-12-22 09:40:45 UTC
-r3 has a patch that fails, silly enough in the README file,

 * Failed Patch: 002_all_coreutils-gen-remove-su_hostname_groups_kill_uptime.patch!

PATCH COMMAND:  patch -p1 -g0 < /fat/tmp/portage/coreutils-5.2.1-r3/work/patch/generic/002_all_coreutils-gen-remove-su_hostname_groups_kill_uptime.patch

=============================================================================
patching file README
Hunk #1 FAILED at 9.
1 out of 1 hunk FAILED -- saving rejects to file README.rej
<rest of output succeeded>
Comment 6 SpanKY gentoo-dev 2005-02-12 12:09:38 UTC
*** Bug 81743 has been marked as a duplicate of this bug. ***