diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-02-18 10:01:47 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-02-18 10:01:47 +0000 |
commit | 9c1657f302d0d0e5b8eefa2a70f73bdb57d5fcd6 (patch) | |
tree | ebac1b974c7c9a60b995c57b95e25e4a0ab3ca21 /ruby.c | |
parent | a9662810df18371af7492dd8298cc0cccc13c7c7 (diff) |
cygwin patches
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@83 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -83,6 +83,13 @@ addpath(path) char *path; { if (path == 0) return; +#if defined(__CYGWIN32__) + { + char rubylib[FILENAME_MAX]; + conv_to_posix_path(path, rubylib); + path = rubylib; + } +#endif if (strchr(path, RUBY_LIB_SEP)) { char *p, *s; VALUE ary = ary_new(); |