From: Nicholas Clark Date: Mon, 20 Feb 2006 14:01:59 +0000 (+0000) Subject: Fix sv_dump to dump formats without the (non-existent) NVX. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8a27f21b702728eba502a2ab9428475e0535d96d;p=p5sagit%2Fp5-mst-13.2.git Fix sv_dump to dump formats without the (non-existent) NVX. p4raw-id: //depot/perl@27245 --- diff --git a/dump.c b/dump.c index 64d7765..15aa750 100644 --- a/dump.c +++ b/dump.c @@ -1303,7 +1303,8 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo #endif PerlIO_putc(file, '\n'); } - if ((type >= SVt_PVNV && type != SVt_PVAV && type != SVt_PVHV) + if ((type >= SVt_PVNV && type != SVt_PVAV && type != SVt_PVHV + && type != SVt_PVFM) || type == SVt_NV) { STORE_NUMERIC_LOCAL_SET_STANDARD(); /* %Vg doesn't work? --jhi */