Skip to content

Commit

Permalink
get working directory on a non existing path returns a value and no e…
Browse files Browse the repository at this point in the history
…rrno on Haiku
  • Loading branch information
thibaultduponchelle authored and Leont committed Jul 9, 2021
1 parent 158b05f commit fa486af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/PathTools/Cwd.pm
Expand Up @@ -3,7 +3,7 @@ use strict;
use Exporter;


our $VERSION = '3.81';
our $VERSION = '3.82';
my $xs_version = $VERSION;
$VERSION =~ tr/_//d;

Expand Down
3 changes: 3 additions & 0 deletions dist/PathTools/t/cwd_enoent.t
Expand Up @@ -31,6 +31,9 @@ foreach my $type (qw(regular perl)) {
skip "getcwd() doesn't fail on non-existent directories on this platform", 4
if $type eq 'regular' && $^O eq 'dragonfly';

skip "getcwd() doesn't fail on non-existent directories on this platform", 4
if $type eq 'regular' && $^O eq 'haiku';

no warnings "redefine";
local *Cwd::abs_path = \&Cwd::_perl_abs_path if $type eq "perl";
local *Cwd::getcwd = \&Cwd::_perl_getcwd if $type eq "perl";
Expand Down

0 comments on commit fa486af

Please sign in to comment.