Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39632 - mandrake patches restore old functionality to coreutils but dont appropriately warn users about it
Summary: mandrake patches restore old functionality to coreutils but dont appropriatel...
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:
Depends on:
Blocks:
 
Reported: 2004-01-27 20:08 UTC by SpanKY
Modified: 2004-03-05 19:35 UTC (History)
1 user (show)

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


Attachments
head.c.patch (head.c.patch,767 bytes, patch)
2004-01-27 20:46 UTC, SpanKY
Details | Diff
tail.c.patch (tail.c.patch,1.18 KB, patch)
2004-01-27 20:47 UTC, SpanKY
Details | Diff
nice.c.patch (nice.c.patch,931 bytes, patch)
2004-01-27 20:55 UTC, SpanKY
Details | Diff
userspec.c.patch (userspec.c.patch,846 bytes, patch)
2004-02-14 21:27 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-01-27 20:08:14 UTC
with coreutils moving away from `head -#`, `tail -#`, `chown user.group`, and others, we had quite a bit of bugs ...

the solution was to add back in the functionality, which is ok

however, the patches fail to spew errors informing users that they should upgrade their POSIX-broken syntax

i talked with peeps about this before and i thought it was going to be added but i guess this slipped through the cracks

i'll attach a few patches to fix this state of things
Comment 1 solar (RETIRED) gentoo-dev 2004-01-27 20:14:23 UTC
Hopefully your patches will only warn.

I can't tell you how happy I am that I can chown user.group again. head/tail -# etc..
Comment 2 SpanKY gentoo-dev 2004-01-27 20:17:45 UTC
yes, they'll warn, but the idea is to remove them in the future :P
Comment 3 solar (RETIRED) gentoo-dev 2004-01-27 20:24:37 UTC
That is a good solution.
I'm sure in time we will learn that seeing the warning will be anoying and will give us and other software developers that use Gentoo ample time to retrain our behaviors to follow the POSIX standard.

Thanks.
Comment 4 SpanKY gentoo-dev 2004-01-27 20:46:27 UTC
Created attachment 24515 [details, diff]
head.c.patch
Comment 5 SpanKY gentoo-dev 2004-01-27 20:47:05 UTC
Created attachment 24518 [details, diff]
tail.c.patch
Comment 6 SpanKY gentoo-dev 2004-01-27 20:55:54 UTC
Created attachment 24519 [details, diff]
nice.c.patch
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-28 10:48:05 UTC
You forgot group?
Comment 8 SpanKY gentoo-dev 2004-01-28 11:37:26 UTC
theres a bunch more to patch i just havent made yet ... i threw those together
cause they were the fastest ;)
Comment 9 SpanKY gentoo-dev 2004-02-14 21:27:00 UTC
Created attachment 25637 [details, diff]
userspec.c.patch
Comment 10 SpanKY gentoo-dev 2004-02-14 21:31:51 UTC
as for some of the other programs, cant we just remove them ?

i mean, has anyone ever seen an issue with old style date, expand, fold, od, pr, sort, split, touch, unexpand, or uniq ?

hell, i dont even know what syntax is invalid because:
(1) i havent even heard of half those utils :)
(2) i've never had an error pop up when using the others informing me that 'my syntax is too old school'
Comment 11 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-03 09:32:13 UTC
These patches ain't workin
Comment 12 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-05 19:35:51 UTC
thanks for this and bug #36337 fixes, sonny