diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-17 16:29:22 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-17 16:29:22 +0000 |
| commit | d045f6eaf238d683f78ccafcc2769127c83542ce (patch) | |
| tree | debeb80080b8283a01ecc4213f3b9196161f9797 /file.c | |
| parent | df2adae120f8a11f090c0e4482fc736a06b6bd5c (diff) | |
| download | ruby-d045f6eaf238d683f78ccafcc2769127c83542ce.tar.gz ruby-d045f6eaf238d683f78ccafcc2769127c83542ce.tar.xz ruby-d045f6eaf238d683f78ccafcc2769127c83542ce.zip | |
* file.c (file_expand_path): drive letter is ascii only.
[ruby-dev:38612]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
| -rw-r--r-- | file.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ |
