This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The if() clause is the wrong way round, so OOK can never be true in
authorNicholas Clark <nick@ccl4.org>
Thu, 28 Apr 2005 08:34:57 +0000 (08:34 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 28 Apr 2005 08:34:57 +0000 (08:34 +0000)
commitc2bfdfaf3f7731071c0d7c0684c538dffecf7ac6
tree8ddf9c2955b81dc72d2f3d1e3bebef8057f7a4c9
parent8569b9dcecd37c8ddfb10cf00cd3f0a1d60426a0
The if() clause is the wrong way round, so OOK can never be true in
this case. Given that OOK is never undone, we could never have been
correctly upgrading a PV with OOK to HV or AV. I believe that only
SVt_NULL is the only type ever upgraded to HV or AV.

p4raw-id: //depot/perl@24340
sv.c