diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-17 14:05:08 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-17 14:05:08 +0000 |
commit | 3b6d6b086138ab408cf2892dd1036a2acfe36104 (patch) | |
tree | 5001180f8362eae0756a283f3e086f24d84f1f0d /ruby.c | |
parent | d291fd52084187a7d7ed09927a2c98b4589d157c (diff) | |
download | ruby-3b6d6b086138ab408cf2892dd1036a2acfe36104.tar.gz |
* ruby.c (ruby_init_loadpath_safe): VARIABLE_LIBPATH is always
defined, see its value instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -381,7 +381,7 @@ ruby_init_loadpath_safe(int safe_level) translit_char(libpath, '\\', '/'); #elif defined __CYGWIN__ { -# ifdef VARIABLE_LIBPATH +# if VARIABLE_LIBPATH const int win_to_posix = CCP_WIN_A_TO_POSIX | CCP_RELATIVE; size_t newsize = cygwin_conv_path(win_to_posix, libpath, 0, 0); if (newsize > 0) { |