From: Eric S. Raymond Date: Tue, 31 Aug 2010 18:40:06 +0000 (-0400) Subject: Fix a broken fprintf that was producing unstable output. X-Git-Tag: 0.29~77^2~9 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=6b4a98a8ed11443f77bb1f8b2e49eef711532782;p=intercal.git Fix a broken fprintf that was producing unstable output. --- diff --git a/src/ick_lose.c b/src/ick_lose.c index c54f7ce..6e5b2b9 100644 --- a/src/ick_lose.c +++ b/src/ick_lose.c @@ -64,8 +64,8 @@ void ick_lwarn(const char *m, int n, const char *s) else if(m[0]!='2'||m[1]!='7'||m[2]!='8') (void) fprintf(stderr, m + 4, n); else - (void) fprintf(stderr, m + 4); - (void) fprintf(stderr, " RECONSIDER SOURCE AND RESUBNIT\n\n"); + (void) fputs(m + 4, stderr); + (void) fputs(" RECONSIDER SOURCE AND RESUBNIT\n\n", stderr); /* Don't exit. This is not any error except one not causing immediate termination of program execution. */ }