Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl-cvs

svn commit: r1301966 - /perl/modperl/trunk/xs/Apache2/SubProcess/Apache2__SubProcess.h

 

 

ModPerl modperl-cvs RSS feed   Index | Next | Previous | View Threaded


torsten at apache

Mar 17, 2012, 10:25 AM

Post #1 of 1 (261 views)
Permalink
svn commit: r1301966 - /perl/modperl/trunk/xs/Apache2/SubProcess/Apache2__SubProcess.h

Author: torsten
Date: Sat Mar 17 17:25:01 2012
New Revision: 1301966

URL: http://svn.apache.org/viewvc?rev=1301966&view=rev
Log:
fix a few false positive warnings when compiled with -Werror=format-security (reported by Niko Tyni)

Modified:
perl/modperl/trunk/xs/Apache2/SubProcess/Apache2__SubProcess.h

Modified: perl/modperl/trunk/xs/Apache2/SubProcess/Apache2__SubProcess.h
URL: http://svn.apache.org/viewvc/perl/modperl/trunk/xs/Apache2/SubProcess/Apache2__SubProcess.h?rev=1301966&r1=1301965&r2=1301966&view=diff
==============================================================================
--- perl/modperl/trunk/xs/Apache2/SubProcess/Apache2__SubProcess.h (original)
+++ perl/modperl/trunk/xs/Apache2/SubProcess/Apache2__SubProcess.h Sat Mar 17 17:25:01 2012
@@ -135,7 +135,7 @@ MP_STATIC XS(MPXS_modperl_spawn_proc_pro
const char *usage = "Usage: spawn_proc_prog($r, $command, [\\@argv])";

if (items < 2) {
- Perl_croak(aTHX_ usage);
+ Perl_croak(aTHX_ "%s", usage);
}

SP -= items;
@@ -156,7 +156,7 @@ MP_STATIC XS(MPXS_modperl_spawn_proc_pro
av_items = len+1;
}
else {
- Perl_croak(aTHX_ usage);
+ Perl_croak(aTHX_ "%s", usage);
}
}

ModPerl modperl-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.