From 3bd8393a7e895e9ecacd4e2f23ca38a7757e8ea0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Sun, 28 Oct 2018 14:14:14 +0100 Subject: [PATCH] Fix ECL_LINEFEED_MODE test with -Werror=format-security In Debian, the -Werror=format-security flag is now passed by default to gcc. This makes the ECL_LINEFEED_MODE test fail. The fix is to replace the call to fprintf() by fputs(). --- src/aclocal.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 0865c39b5..e6f052ee8 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -782,7 +782,7 @@ int main() { fclose(f); f = fopen("conftestval","w"); if (f == NULL) exit(1); - fprintf(f, output); + fputs(output, f); fclose(f); exit(0); } -- GitLab