summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-14 16:18:30 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-14 16:18:30 +0000
commitb65b4fdfe53460eecfaecff3c500bb40665bb82f (patch)
tree90f0937b6ba4e50d73fd9ae7020c309320626aed /pp_ctl.c
parent794a0d33eec8a6056eaa14b2e6eae594c8004a65 (diff)
downloadperl-b65b4fdfe53460eecfaecff3c500bb40665bb82f.tar.gz
Replace explict "/dev/null" with BIT_BUCKET, which varies by platform.
p4raw-id: //depot/perl@27802
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 5288c66d80..0307a2e854 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3220,7 +3220,8 @@ PP(pp_require)
}
if (!tryrsfp) {
- tryrsfp = PerlIO_open("/dev/null", PERL_SCRIPT_MODE);
+ tryrsfp = PerlIO_open(BIT_BUCKET,
+ PERL_SCRIPT_MODE);
}
}
SP--;