1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

cygwin patches

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@83 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 1998-02-18 10:01:47 +00:00
parent a9662810df
commit 9c1657f302
13 changed files with 404 additions and 1 deletions

7
ruby.c
View file

@ -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();