diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-23 00:03:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-23 00:03:37 +0000 |
commit | 8e4d2e94af0fc9966c7fc2be2d4c473e4881e976 (patch) | |
tree | a75ccdbc97a561fc98deed125821346951467aab /ruby.c | |
parent | 9c5e4618457438f5fe0bcc51093e740915abc68d (diff) | |
download | ruby-8e4d2e94af0fc9966c7fc2be2d4c473e4881e976.tar.gz |
ruby.c: fix command line encoding on cygwin
* ruby.c: cygwin does not use w32_cmdvector, command line can be
other than UTF-8. [ruby-dev:49519] [Bug #12184]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -396,7 +396,9 @@ translit_char_bin(char *p, int from, int to) p++; } } +#endif +#ifdef _WIN32 # define UTF8_PATH 1 #endif |