Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove special case in cwd for parrot backend.
  • Loading branch information
donaldh committed May 28, 2014
1 parent ac74318 commit f8a2b50
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/core/IO.pm
Expand Up @@ -724,14 +724,7 @@ multi sub spurt(Cool $filename,
proto sub cwd(|) { * }
multi sub cwd() {
return nqp::p6box_s(
#?if parrot
pir::trans_encoding__Ssi(
nqp::cwd(),
pir::find_encoding__Is('utf8'))
#?endif
#?if !parrot
nqp::cwd(),
#?endif
nqp::cwd()
);
CATCH {
default {
Expand Down

0 comments on commit f8a2b50

Please sign in to comment.