Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix for #123308, raydiak++ for spotting
  • Loading branch information
lizmat committed Nov 27, 2014
1 parent 456d8f0 commit 482cc32
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/IO/Path.pm
Expand Up @@ -342,7 +342,9 @@ my class IO::Path is Cool {
my str $cwd = nqp::cwd();
nqp::chdir(nqp::unbox_s($.abspath));
#?endif
my $abspath-sep := $.abspath ~ $!SPEC.dir-sep;
my $abspath-sep := $.abspath eq $!SPEC.dir-sep
?? $!SPEC.dir-sep
!! $.abspath ~ $!SPEC.dir-sep;

#?if parrot
my Mu $RSA := pir::new__PS('OS').readdir(nqp::unbox_s($.abspath));
Expand Down

0 comments on commit 482cc32

Please sign in to comment.