From: Nicholas Clark Date: Fri, 14 Apr 2006 16:18:30 +0000 (+0000) Subject: Replace explict "/dev/null" with BIT_BUCKET, which varies by platform. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b65b4fdfe53460eecfaecff3c500bb40665bb82f;p=p5sagit%2Fp5-mst-13.2.git Replace explict "/dev/null" with BIT_BUCKET, which varies by platform. p4raw-id: //depot/perl@27802 --- diff --git a/pp_ctl.c b/pp_ctl.c index 5288c66..0307a2e 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--;