summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <matz@ruby-lang.org>1994-12-08 14:17:29 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-08-17 22:09:30 +0900
commit00e36aa09f54925c2f9c30524b48f4f54a9adb23 (patch)
tree57bf15576109b53406796c66b29d5e11d9fd99c0 /ruby.c
parent4dfd93c72a9a221c5575c5888483f2fb55c82117 (diff)
version 0.60v0_60
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.60.tar.gz Thu Dec 8 14:17:29 1994 Yukihiro Matsumoto (matz@ix-02) * 0.60 released - alpha test baseline.
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/ruby.c b/ruby.c
index 0d53a7b1a9..cb5f8c68b6 100644
--- a/ruby.c
+++ b/ruby.c
@@ -3,7 +3,7 @@
ruby.c -
$Author: matz $
- $Date: 1994/11/01 08:28:24 $
+ $Date: 1994/12/06 09:30:15 $
created at: Tue Aug 10 12:47:31 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
@@ -18,11 +18,7 @@
#include <sys/stat.h>
#include <signal.h>
-#ifdef HAVE_GETOPT_LONG
-#include <getopt.h>
-#else
-#include "missing/getopt.h"
-#endif
+#include "getopt.h"
static int version, copyright;
@@ -184,7 +180,7 @@ proc_options(argcp, argvp)
break;
case 'I':
- Fary_unshift(rb_load_path, str_new2(optarg));
+ ary_unshift(rb_load_path, str_new2(optarg));
break;
default:
@@ -427,6 +423,6 @@ ruby_init0(argc, argv, envp)
rb_define_variable("$*", &Argv, Qnil, Qnil);
Argv = ary_new2(argc);
for (i=0; i < argc; i++) {
- Fary_push(Argv, str_new2(argv[i]));
+ ary_push(Argv, str_new2(argv[i]));
}
}