Skip Menu |

This queue is for tickets about the Data-Swap CPAN distribution.

Report information
The Basics
Id: 48364
Status: new
Priority: 0/
Queue: Data-Swap

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc: gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: data::swap fails to compile with -Werror=format-security
attached patch fixes the problem
Subject: Data-Swap-0.08-fix-format-security.patch
--- Swap.xs.orig 2009-08-01 12:35:06.000000000 +0200 +++ Swap.xs 2009-08-01 12:35:28.000000000 +0200 @@ -219,7 +219,7 @@ Perl_croak(aTHX_ "Not a reference"); if ((SvREADONLY(r1) && SvIMMORTAL(r1)) || (SvREADONLY(r2) && SvIMMORTAL(r2))) - Perl_croak(aTHX_ PL_no_modify); + Perl_croak(aTHX_ "%s", PL_no_modify); br = NULL; br = sv_move(aTHX_ &t, r1, br); br = sv_move(aTHX_ r1, r2, br);