In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/edd52d85e45405ef42b088035525f7cacc2fab77?hp=af6492bf9e9f3e5024e49941789a1c85db7d4906>

- Log -----------------------------------------------------------------
commit edd52d85e45405ef42b088035525f7cacc2fab77
Author: Rafael Garcia-Suarez <[email protected]>
Date:   Tue Mar 10 13:29:48 2009 +0100

    Fix a printf compilation warning
-----------------------------------------------------------------------

Summary of changes:
 ext/XS-Typemap/stdio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/XS-Typemap/stdio.c b/ext/XS-Typemap/stdio.c
index fc4bf45..da4fe57 100644
--- a/ext/XS-Typemap/stdio.c
+++ b/ext/XS-Typemap/stdio.c
@@ -23,6 +23,6 @@ int xsfclose ( FILE * stream ) {
 
 
 int xsfprintf ( FILE * stream, const char * text ) {
-  return fprintf( stream, text );
+  return fprintf( stream, "%s", text );
 }
 

--
Perl5 Master Repository

Reply via email to