Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
We don't need no Junctions :-)
  • Loading branch information
lizmat committed Nov 27, 2014
1 parent 70df096 commit 2b2857d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/IO.pm
Expand Up @@ -240,15 +240,15 @@ sub FILETEST-W(Str $abspath) {
}
sub FILETEST-RW(Str $abspath) {
my str $p = nqp::unbox_s($abspath);
nqp::p6bool(nqp::filereadable($p) & nqp::filewritable($p));
nqp::p6bool(nqp::filereadable($p) && nqp::filewritable($p));
}
sub FILETEST-X(Str $abspath) {
nqp::p6bool(nqp::fileexecutable(nqp::unbox_s($abspath)));
}
sub FILETEST-RWX(Str $abspath) {
my str $p = nqp::unbox_s($abspath);
nqp::p6bool(
nqp::filereadable($p) & nqp::filewritable($p) & nqp::fileexecutable($p)
nqp::filereadable($p) && nqp::filewritable($p) && nqp::fileexecutable($p)
);
}
sub FILETEST-Z(Str $abspath) {
Expand Down

0 comments on commit 2b2857d

Please sign in to comment.