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
*** This bug has been marked as a duplicate of bug 206841 ***