summaryrefslogtreecommitdiffstats
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
commite24034b0f8e36a6b50f557f952e09a9e96eb3b6d (patch)
tree9d4d04c3e8a23092a4e4886516179036ba5eeb78 /eval.c
parenta11a07801e3aae0c5ef1524e5f7c8f105fe1ab7c (diff)
downloadruby-e24034b0f8e36a6b50f557f952e09a9e96eb3b6d.tar.gz
ruby-e24034b0f8e36a6b50f557f952e09a9e96eb3b6d.tar.xz
ruby-e24034b0f8e36a6b50f557f952e09a9e96eb3b6d.zip
* eval.c (rb_f_abort): should not bypass cleanup.
* ext/stringio/stringio.c (check_modifiable): void function. git-svn-id: http://svn.ruby-lang.org/repos/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 5a18ee3b3..e2166b862 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 */
}