Change 33069 missed updating dump.c to dump PVIOs correctly.
[perl.git] / dump.c
diff --git a/dump.c b/dump.c
index 3e4db86..3147286 100644 (file)
--- a/dump.c
+++ b/dump.c
@@ -1554,7 +1554,7 @@ Perl_do_sv_dump(pTHX_ I32 level, PerlIO *file, SV *sv, I32 nest, I32 maxnest, bo
                         (UV) COP_SEQ_RANGE_HIGH(sv));
     } else if ((type >= SVt_PVNV && type != SVt_PVAV && type != SVt_PVHV
                && type != SVt_PVCV && type != SVt_PVFM  && type != SVt_REGEXP
-               && !isGV_with_GP(sv) && !SvVALID(sv))
+               && type != SVt_PVIO && !isGV_with_GP(sv) && !SvVALID(sv))
               || type == SVt_NV) {
        STORE_NUMERIC_LOCAL_SET_STANDARD();
        /* %Vg doesn't work? --jhi */