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 | 88783116e06ff7cd5e43041b2c598fe76cfe98db (patch) | |
tree | a75ccdbc97a561fc98deed125821346951467aab /ruby.c | |
parent | 4558e2d1b8f003bece469c29cc18600ec248eb70 (diff) | |
download | ruby-88783116e06ff7cd5e43041b2c598fe76cfe98db.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 |