The fold_text() function doesn't ever return anything and its return
code is never checked.
Original bug report:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=136090
--- coreutils-5.2.1/src/fold.c.void 2004-10-18 13:42:18.119712001 +0100
+++ coreutils-5.2.1/src/fold.c 2004-10-18 13:42:28.346757280 +0100
@@ -157,7 +157,7 @@
return column;
}
-static int
+static void
fold_text (FILE *istream, int width, int *saved_errno)
{
register int c;