summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-01-06 21:59:00 +0000
committerSteve Peters <steve@fisharerojo.org>2006-01-06 21:59:00 +0000
commit34ba6322b644154d55680c95808981776852ae24 (patch)
treeaabe0a4ab0822979a1d0ba9134c969c4c9f52a53 /sv.c
parent29ecdb6fa31693daf50c1386a8ec5d92fb7b0313 (diff)
downloadperl-34ba6322b644154d55680c95808981776852ae24.tar.gz
Upgrade to version-0.52
p4raw-id: //depot/perl@26685
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sv.c b/sv.c
index d0234cd58a..8800ddfe44 100644
--- a/sv.c
+++ b/sv.c
@@ -8166,6 +8166,11 @@ Perl_sv_vcatpvfn(pTHX_ SV *sv, const char *pat, STRLEN patlen, va_list *args, SV
*/
if (sv_derived_from(vecsv, "version")) {
char *version = savesvpv(vecsv);
+ if ( hv_exists((HV*)SvRV(vecsv), "alpha", 5 ) ) {
+ Perl_warner(aTHX_ packWARN(WARN_INTERNAL),
+ "vector argument not supported with alpha versions");
+ goto unknown;
+ }
vecsv = sv_newmortal();
/* scan_vstring is expected to be called during
* tokenization, so we need to fake up the end