[Ecls-list] -Werror=format-security fix
Jerry James
loganjerry at gmail.com
Thu May 15 15:27:54 UTC 2014
Some Linux distributions now build their packages with
-Werror=format-security, in order to catch security vulnerabilities.
This makes ECL fail while running configure. This patch fixes the
problem:
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index d49321a..0f34d9a 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -711,7 +711,7 @@ int main() {
fclose(f);
f = fopen("conftestval","w");
if (f == NULL) exit(1);
- fprintf(f, output);
+ fputs(output, f);
fclose(f);
exit(0);
}
Regards,
--
Jerry James
http://www.jamezone.org/
More information about the ecl-devel
mailing list