From: Pádraig Brady Date: Wed, 27 Aug 2025 10:48:13 +0000 (+0100) Subject: build: fold: fix build failure with C99 X-Git-Tag: v9.8~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aec4f85476452310463b17c63d2ec3d2ac3d02aa;p=thirdparty%2Fcoreutils.git build: fold: fix build failure with C99 GCC 10.2 gave the following error: "error: label at end of compound statement" * src/fold.c (fold_file): Add a ";" to avoid C2X specific syntax. --- diff --git a/src/fold.c b/src/fold.c index 208b004d62..343ee62c30 100644 --- a/src/fold.c +++ b/src/fold.c @@ -260,7 +260,8 @@ fold_file (char const *filename, size_t width) break; /* We read a full buffer of complete characters. */ offset_in = 0; - next_line: + + next_line:; } saved_errno = errno;