Restore original Darwin buffer hack.
This commit is contained in:
parent
c6d6882f4a
commit
4b974d644b
1 changed files with 4 additions and 3 deletions
|
|
@ -32,9 +32,10 @@ BEGIN {
|
|||
if ( $^O eq 'darwin' && $Config::Config{osvers} lt '8.0.0' ) {
|
||||
unshift @INC, sub {
|
||||
return undef unless $_[1] =~ m/^Apache2|APR/;
|
||||
my $buffer = '1';
|
||||
open my $fh, '<', \$buffer;
|
||||
return $fh;
|
||||
return IO::File->new( $INC{'Class/Null.pm'}, &IO::File::O_RDONLY );
|
||||
#my $buffer = '1';
|
||||
#open my $fh, '<', \$buffer;
|
||||
#return $fh;
|
||||
};
|
||||
|
||||
no warnings 'redefine';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue