summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
author(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-02-20 08:56:42 +0000
committer(no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-02-20 08:56:42 +0000
commit21e36414c9b1d21f593a236a6a20df507a33b986 (patch)
treec77cf738688717f0571e9eb09ad99c1dadfded86 /ruby.c
parentfd1d8cdc09ed86e4a0812120a17ff0d7b04adcaf (diff)
This commit was manufactured by cvs2svn to create tag 'v1_1b8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_1b8@87 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/ruby.c b/ruby.c
index 6e748f249d..7c948206a7 100644
--- a/ruby.c
+++ b/ruby.c
@@ -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();
@@ -124,7 +131,7 @@ add_modules(mod)
}
void
-rb_require_modules()
+ruby_require_modules()
{
struct req_list *list = req_list;
struct req_list *tmp;
@@ -361,6 +368,7 @@ proc_options(argcp, argvp)
show_copyright();
}
+ Init_ext(); /* should be called here for some reason :-( */
if (script_given == FALSE) {
if (argc == 0) { /* no more args */
if (verbose == 3) exit(0);