Change 34437 by [EMAIL PROTECTED] on 2008/09/28 17:54:51

        Integrate:
        [ 34433]
        $? is PVLV on VMS (and actually, anywhere else where COMPLEX_STATUS is
        defined).

Affected files ...

... //depot/maint-5.10/perl/ext/XS/APItest/t/svpeek.t#2 integrate

Differences ...

==== //depot/maint-5.10/perl/ext/XS/APItest/t/svpeek.t#2 (text) ====
Index: perl/ext/XS/APItest/t/svpeek.t
--- perl/ext/XS/APItest/t/svpeek.t#1~34426~     2008-09-26 12:06:51.000000000 
-0700
+++ perl/ext/XS/APItest/t/svpeek.t      2008-09-28 10:54:51.000000000 -0700
@@ -30,7 +30,12 @@
   is (DPeek ($=),    'PVMG()',                 '$=');
   is (DPeek ($-),    'PVMG()',                 '$-');
 like (DPeek ($!), qr'^PVMG\("',                        '$!');
+if ($^O eq 'VMS') {
+  # VMS defines COMPLEX_STATUS and upgrades $? to PVLV
+  is (DPeek ($?),    'PVLV()',                 '$?');
+} else {
   is (DPeek ($?),    'PVMG()',                 '$?');
+}
   is (DPeek ($|),    'PVMG(1)',                        '$|');
 
   "abc" =~ m/(b)/;     # Don't know why these magic vars have this content
End of Patch.

Reply via email to