diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-05 23:52:52 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-05 23:52:52 +0000 |
commit | a237db5cbc3e3093330c20b26a97320262ee7b16 (patch) | |
tree | dc1794798e74212781ace6bb38408ca1be9ac604 /ext/-test-/win32/dln | |
parent | acfd09ed83bd9ee347870eac99f75d2579162e4c (diff) |
dln.c: non-ascii path on Windows
* dln.c (dln_load): use wchar version to load a library in
non-ascii path on Windows. based on the patch by Bugra Barin
<bugrabarin AT hotmail.com> in [ruby-core:61845]. [Bug #9699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/win32/dln')
-rw-r--r-- | ext/-test-/win32/dln/empty/empty.c | 4 | ||||
-rw-r--r-- | ext/-test-/win32/dln/empty/extconf.rb | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ext/-test-/win32/dln/empty/empty.c b/ext/-test-/win32/dln/empty/empty.c new file mode 100644 index 0000000000..c4f94f1644 --- /dev/null +++ b/ext/-test-/win32/dln/empty/empty.c @@ -0,0 +1,4 @@ +void +Init_empty(void) +{ +} diff --git a/ext/-test-/win32/dln/empty/extconf.rb b/ext/-test-/win32/dln/empty/extconf.rb new file mode 100644 index 0000000000..a4efed90c9 --- /dev/null +++ b/ext/-test-/win32/dln/empty/extconf.rb @@ -0,0 +1,3 @@ +if $mingw or $mswin + create_makefile("-test-/win32/dln/empty") +end |