Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213012 - sys-apps/coreutils-6.9 - i18n patch in coreutils-6.9-patches-1.2.tar.bz2 is broken
Summary: sys-apps/coreutils-6.9 - i18n patch in coreutils-6.9-patches-1.2.tar.bz2 is b...
Status: RESOLVED DUPLICATE of bug 206841
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-11 08:23 UTC by Alan Hourihane
Modified: 2008-03-14 00:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Hourihane 2008-03-11 08:23:06 UTC
The patch is broken. At around line 1150 we get this hunk of code.....

+#if HAVE_MBRTOWC
+           {
+             if(MB_CUR_MAX > 1)
+               {
+                 mbstate_t state;

Later the #endif is before the final "}" , so realistically the above hunk should be like this....

+           {
+#if HAVE_MBRTOWC
+             if(MB_CUR_MAX > 1)
+               {
+                 mbstate_t state;


Reproducible: Always

Actual Results:  
cut.c: In function 'main':
cut.c:1150: error: case label not within a switch statement
cut.c:1159: error: case label not within a switch statement
cut.c:1163: error: case label not within a switch statement
cut.c:1167: error: case label not within a switch statement
cut.c:1171: error: case label not within a switch statement
cut.c:1173: error: case label not within a switch statement
cut.c:1175: error: 'default' label not within a switch statement
Comment 1 SpanKY gentoo-dev 2008-03-14 00:32:24 UTC

*** This bug has been marked as a duplicate of bug 206841 ***