summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-19 06:54:11 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-19 06:54:11 +0000
commit4f38192327badc642b66fb2e0605b9e70c398b4d (patch)
tree870d126fba698f90bbb07a7bb67ff3aab4103796 /eval.c
parentceb972c776c43e643ad69d3cb88da683f0ec9ea0 (diff)
downloadruby-4f38192327badc642b66fb2e0605b9e70c398b4d.tar.gz
ruby-4f38192327badc642b66fb2e0605b9e70c398b4d.tar.xz
ruby-4f38192327badc642b66fb2e0605b9e70c398b4d.zip
* string.c (rb_str_init): String.new() => ""
* dir.c (dir_path): new method. * dir.c (dir_initialize): wrap DIR into struct, along with path information. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 0655cadc5..8cbdb94e4 100644
--- a/eval.c
+++ b/eval.c
@@ -8211,7 +8211,7 @@ rb_thread_abort_exc_set(thread, val)
th->errinfo = Qnil;\
th->last_status = 0;\
th->last_line = 0;\
- th->last_match = 0;\
+ th->last_match = Qnil;\
th->abort = 0;\
th->priority = 0;\
th->gid = 1;\