aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-10 07:17:53 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-11-10 07:17:53 +0000
commit683400f4278fe0db00592c06522979be845bcc45 (patch)
treeb10b6489ef3dee4fc819499d3731bc66f8b8f21e /eval.c
parent63b9174a64ab16045924d5ec053303b81e91dc16 (diff)
downloadruby-683400f4278fe0db00592c06522979be845bcc45.tar.gz
* dir.c (rb_glob2): do not allocate buffer from heap to avoid
memory leaks. use string object for buffering instead. [ruby-dev:24738] * dir.c (join_path): ditto. * io.c (io_read): external input buffer may be modified even after rb_str_locktmp(). [ruby-dev:24735] * dir.c (fnmatch): p or s may be NULL. [ruby-dev:24749] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 40b79fe99a..cb6de62ae1 100644
--- a/eval.c
+++ b/eval.c
@@ -1393,6 +1393,7 @@ ruby_finalize_0()
static void
ruby_finalize_1()
{
+ signal(SIGINT, SIG_DFL);
ruby_errinfo = 0;
rb_gc_call_finalizer_at_exit();
trace_func = 0;