[packages/SVGATextMode] - compilation fix
witekfl
witekfl at pld-linux.org
Thu Mar 14 15:56:45 CET 2013
commit 42ae0d7bad6b283a8e45465a36ea120e03c0092a
Author: witekfl <witekfl at poczta.onet.pl>
Date: Thu Mar 14 15:49:39 2013 +0100
- compilation fix
SVGATextMode-format_security.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/SVGATextMode-format_security.patch b/SVGATextMode-format_security.patch
new file mode 100644
index 0000000..c066c82
--- /dev/null
+++ b/SVGATextMode-format_security.patch
@@ -0,0 +1,11 @@
+--- SVGATextMode-1.10/grabmode.c.old 2013-03-14 15:45:57.126016309 +0100
++++ SVGATextMode-1.10/grabmode.c 2013-03-14 15:46:19.759699662 +0100
+@@ -272,7 +272,7 @@ int main (int argc, char* argv[])
+ if ((1<<i)==MSG_CLOCK_MEASUREMENTS)
+ fprintf(stderr, mode_messages[i].msg_txt,m.valid_measurements);
+ else
+- fprintf(stderr, mode_messages[i].msg_txt);
++ fputs(mode_messages[i].msg_txt, stderr);
+ fputc('\n', stderr);
+ }
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SVGATextMode.git/commitdiff/ae8cab29b86b1f9968e0bcd1f8839c743cd560ff
More information about the pld-cvs-commit
mailing list