summaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-07 08:37:59 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-03-07 08:37:59 +0000
commitf0f206d828e37bf452f53fe63f729d16b42df2c9 (patch)
tree0726d5ac3dbee381503921a9a6016c6dea786115 /ruby.c
parent37a8fef38bc7a1751b4bd9899400536e333d41fd (diff)
downloadruby-f0f206d828e37bf452f53fe63f729d16b42df2c9.tar.gz
ruby-f0f206d828e37bf452f53fe63f729d16b42df2c9.tar.xz
ruby-f0f206d828e37bf452f53fe63f729d16b42df2c9.zip
2000-03-07
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ruby.c b/ruby.c
index 22bc2b362..2e813e9dc 100644
--- a/ruby.c
+++ b/ruby.c
@@ -28,10 +28,6 @@
#include <unistd.h>
#endif
-#ifdef USE_CWGUSI
-#include "macruby_missing.h"
-#endif
-
#ifndef HAVE_STRING_H
char *strchr _((const char*,const char));
char *strrchr _((const char*,const char));
@@ -707,7 +703,6 @@ load_file(fname, script)
while (p < pend && ISSPACE(*p))
p++;
path = p; /* interpreter path */
-#ifndef USE_CWGUSI
while (p < pend && !ISSPACE(*p))
p++;
*p++ = '\0';
@@ -721,7 +716,7 @@ load_file(fname, script)
}
argv[0] = path;
execv(path, argv);
-#endif
+
ruby_sourcefile = fname;
ruby_sourceline = 1;
rb_fatal("Can't exec %s", path);