summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-18 08:21:40 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-18 08:21:40 +0000
commit7dc66370cbce78e6f616cf19a88c419356548d48 (patch)
tree9d4d04c3e8a23092a4e4886516179036ba5eeb78 /eval.c
parent2059c382a6262c72f3761e6a5988f3b4e6146fda (diff)
* eval.c (rb_f_abort): should not bypass cleanup.
* ext/stringio/stringio.c (check_modifiable): void function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2220 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 5a18ee3b3a..e2166b862d 100644
--- a/eval.c
+++ b/eval.c
@@ -3504,7 +3504,7 @@ rb_f_abort(argc, argv)
rb_scan_args(argc, argv, "01", &mesg);
rb_io_puts(argc, argv, rb_stderr);
- exit(1);
+ rb_exit(1);
}
return Qnil; /* not reached */
}