summaryrefslogtreecommitdiff
path: root/lib/DB.pm
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-06-21 20:42:10 +0100
committerNicholas Clark <nick@ccl4.org>2010-06-23 08:52:45 +0100
commit2b894b7afaeab63c3565bccc12e75832831eb18f (patch)
tree6d272cce448ce89c8d9f7bb47fca0a5530d67838 /lib/DB.pm
parentdf0d8043b5e8cb96091cbe5bda160a4997cb1b19 (diff)
downloadperl-2b894b7afaeab63c3565bccc12e75832831eb18f.tar.gz
Remove MacOS classic support from the debugger.
ExtUtils::MakeMaker removed MacOS support in 6.25, merged to blead in December 2004, so this code is vestigial, and a small runtime penalty.
Diffstat (limited to 'lib/DB.pm')
-rw-r--r--lib/DB.pm11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/DB.pm b/lib/DB.pm
index efb903557a..16ff99afa5 100644
--- a/lib/DB.pm
+++ b/lib/DB.pm
@@ -41,7 +41,7 @@ BEGIN {
$DB::subname = ''; # currently executing sub (fullly qualified name)
$DB::lineno = ''; # current line number
- $DB::VERSION = $DB::VERSION = '1.02';
+ $DB::VERSION = $DB::VERSION = '1.03';
# initialize private globals to avoid warnings
@@ -93,15 +93,6 @@ sub DB {
$usrctxt = "package $DB::package;"; # this won't let them modify, alas
local(*DB::dbline) = "::_<$DB::filename";
- # we need to check for pseudofiles on Mac OS (these are files
- # not attached to a filename, but instead stored in Dev:Pseudo)
- # since this is done late, $DB::filename will be "wrong" after
- # skippkg
- if ($^O eq 'MacOS' && $#DB::dbline < 0) {
- $DB::filename = 'Dev:Pseudo';
- *DB::dbline = "::_<$DB::filename";
- }
-
my ($stop, $action);
if (($stop,$action) = split(/\0/,$DB::dbline{$DB::lineno})) {
if ($stop eq '1') {