Skip to content

Commit

Permalink
[cd] should return the empty string;
Browse files Browse the repository at this point in the history
previous versions seem to have relied on a bug in PCC processing which has
been fixed.
  • Loading branch information
coke committed Jun 2, 2010
1 parent 2579fb0 commit bdc5273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/builtin/cd.pir
Expand Up @@ -18,8 +18,8 @@ noargs:

cd_it:
$P0 = new 'OS'
$S0 = $P0.'chdir'(dir)
.return ($S0)
$P0.'chdir'(dir)
.return('')

bad_args:
die 'wrong # args: should be "cd ?dirName?"'
Expand Down

0 comments on commit bdc5273

Please sign in to comment.