summaryrefslogtreecommitdiff
path: root/vms/ext
diff options
context:
space:
mode:
authorCharles Bailey <bailey@newman.upenn.edu>2000-05-25 02:25:34 +0000
committerbailey <bailey@newman.upenn.edu>2000-05-25 02:25:34 +0000
commit744a34f9085790ea7e2e782a67280c43116f938e (patch)
tree794ec9a1e048d2a92f238a59c24257acff0caf6d /vms/ext
parent51d72eab6b91de4131dc68036f54a9d76d1639fe (diff)
downloadperl-744a34f9085790ea7e2e782a67280c43116f938e.tar.gz
Urk -- undo previous removal of vmsish 'exit' change
p4raw-id: //depot/vmsperl@6114
Diffstat (limited to 'vms/ext')
-rw-r--r--vms/ext/vmsish.pm19
1 files changed, 14 insertions, 5 deletions
diff --git a/vms/ext/vmsish.pm b/vms/ext/vmsish.pm
index 5d738d0a82..c51863a4f3 100644
--- a/vms/ext/vmsish.pm
+++ b/vms/ext/vmsish.pm
@@ -67,9 +67,8 @@ sub bits {
my $bits = 0;
my $sememe;
foreach $sememe (@_) {
- $bits |= 0x10000000, next if $sememe eq 'hushed';
- $bits |= 0x20000000, next if $sememe eq 'status' || $sememe eq '$?';
- $bits |= 0x40000000, next if $sememe eq 'exit';
+ $bits |= 0x20000000, next if $sememe eq 'hushed';
+ $bits |= 0x40000000, next if $sememe eq 'status' || $sememe eq '$?';
$bits |= 0x80000000, next if $sememe eq 'time';
}
$bits;
@@ -77,12 +76,22 @@ sub bits {
sub import {
shift;
- $^H |= bits(@_ ? @_ : qw(status exit time hushed));
+ $^H |= bits(@_ ? @_ : qw(status time hushed));
+ my $sememe;
+
+ foreach $sememe (@_ ? @_ : qw(exit)) {
+ $^H{'vmsish_exit'} = 1 if $sememe eq 'exit';
+ }
}
sub unimport {
shift;
- $^H &= ~ bits(@_ ? @_ : qw(status exit time hushed));
+ $^H &= ~ bits(@_ ? @_ : qw(status time hushed));
+ my $sememe;
+
+ foreach $sememe (@_ ? @_ : qw(exit)) {
+ $^H{'vmsish_exit'} = 0 if $sememe eq 'exit';
+ }
}
1;