Skip to content

Commit

Permalink
* file.c (file_expand_path): drive letter is ascii only.
Browse files Browse the repository at this point in the history
  [ruby-dev:38612]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Jun 17, 2009
1 parent 4d3c75e commit 7785612
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Thu Jun 18 01:29:16 2009 Nobuyoshi Nakada <[email protected]>

* file.c (file_expand_path): drive letter is ascii only.
[ruby-dev:38612]

Thu Jun 18 01:09:27 2009 Nobuyoshi Nakada <[email protected]>

* configure.in (ridir, RI_BASE_NAME): fixed for path expansion.
Expand Down
1 change: 1 addition & 0 deletions file.c
Original file line number Diff line number Diff line change
Expand Up @@ -2745,6 +2745,7 @@ file_expand_path(VALUE fname, VALUE dname, int abs_mode, VALUE result)
memcpy(p, s, 2);
p += 2;
s += 2;
rb_enc_associate_index(result, rb_usascii_encindex());
}
else {
/* specified drive, but not full path */
Expand Down

0 comments on commit 7785612

Please sign in to comment.