summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ruby.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b415da..66904c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Aug 12 22:29:35 2002 Akinori MUSHA <knu@iDaemons.org>
+
+ * ruby.c (set_arg0): Correct the position of #endif.
+
Mon Aug 12 16:15:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* bignum.c (rb_big_cmp): raise for NaN. (ruby-bugs-ja:PR#284).
diff --git a/ruby.c b/ruby.c
index 42dbf6b..70dc88d 100644
--- a/ruby.c
+++ b/ruby.c
@@ -939,8 +939,8 @@ set_arg0(val, id)
for (i = 1; i < origargc; i++)
origargv[i] = 0;
}
-#endif
rb_progname = rb_tainted_str_new2(origargv[0]);
+#endif
}
void