diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-02 11:34:49 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-02 11:34:49 +0000 |
commit | 3a7a539e5f0eb5f1cbbfca9c0aa7cbe4f16372b1 (patch) | |
tree | 28b17b8c9413ed3f36278cd0f68b9fc41d932b1f /sv.c | |
parent | ec488bcf4722172239bf82ed09d2c56fb8487462 (diff) | |
download | perl-3a7a539e5f0eb5f1cbbfca9c0aa7cbe4f16372b1.tar.gz |
Fix for [perl #22759 insufficient format string checking];
using ewix makes no sense, assuming evix was intended,
no old tests fail; add the test case.
p4raw-id: //depot/perl@19931
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8668,7 +8668,7 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV vecsv = va_arg(*args, SV*); else vecsv = (evix ? evix <= svmax : svix < svmax) ? - svargs[ewix ? ewix-1 : svix++] : &PL_sv_undef; + svargs[evix ? evix-1 : svix++] : &PL_sv_undef; dotstr = SvPVx(vecsv, dotstrlen); if (DO_UTF8(vecsv)) is_utf8 = TRUE; |