diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-28 00:33:18 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-11-28 00:33:18 +0000 |
commit | 5bc28059b0f85cd473ea4934bc1fd7fb76006e8e (patch) | |
tree | 5d3be84d2a363eb9ba07f05c2ecfdd8efcf36ff4 /win32/win32.c | |
parent | 543820885ee691d70e0d5c36246bdfdf8a1eddd3 (diff) |
* win32/win32.c (rb_w32_uchmod): typo. [Bug#5671] [ruby-dev:44898]
* test/ruby/test_file.rb (TestFile#test_chmod_m17n): test of above bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 3b2e58f5cd..5619c75b9f 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -6032,7 +6032,7 @@ rb_w32_uchmod(const char *path, int mode) WCHAR *wpath; int ret; - if (!(wpath = filecp_to_wstr(path, NULL))) + if (!(wpath = utf8_to_wstr(path, NULL))) return -1; ret = _wchmod(wpath, mode); free(wpath); |