[packages/metaio] - compilation fixes
witekfl
witekfl at pld-linux.org
Sat Jan 18 13:56:09 CET 2014
commit 40e95cec5e277dd5c5086e1f3809cea5182fb845
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sat Jan 18 13:55:30 2014 +0100
- compilation fixes
format-security.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..15ff696
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,22 @@
+--- metaio-8.3.0/src/metaio.c.orig 2014-01-18 13:49:24.428739303 +0100
++++ metaio-8.3.0/src/metaio.c 2014-01-18 13:50:23.651747305 +0100
+@@ -2486,7 +2486,7 @@ int MetaioCreate( const MetaioParseEnv e
+ return status;
+
+ /*-- Write out the LIGO_LW header --*/
+- fprintf( env->file->fp, MetaIO_Header);
++ fputs( MetaIO_Header, env->file->fp);
+
+ return 0;
+ }
+--- metaio-8.3.0/src/lwtprint.c.orig 2014-01-18 13:52:24.527772497 +0100
++++ metaio-8.3.0/src/lwtprint.c 2014-01-18 13:53:20.884130507 +0100
+@@ -513,7 +513,7 @@ int main( int argc, char **argv )
+ for ( i=0; i<ncols; i++ ) {
+ icol = collist[i];
+ if ( i > 0 )
+- printf( delim );
++ fputs( delim, stdout );
+ if ( icol == PSEUDOCOL_ROW )
+ fprintf( stdout, "%d", irow );
+ else
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/metaio.git/commitdiff/8f6bc9a850d2be07e63bda95ace06d80dbe4851e
More information about the pld-cvs-commit
mailing list