From de373b1b6cddf602cad483b7ede7b378666d837c Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 1 Apr 2002 08:31:49 +0000 Subject: * io.c (rb_io_fptr_cleanup): need flush even when io will not be closed. * io.c (rb_io_initialize): was calling wrong function rb_io_mode_flags(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'error.c') diff --git a/error.c b/error.c index ecec654a33..edf0b16e2b 100644 --- a/error.c +++ b/error.c @@ -200,7 +200,7 @@ static struct types { T_FALSE, "false", T_SYMBOL, "Symbol", /* :symbol */ T_DATA, "Data", /* internal use: wrapped C pointers */ - T_MATCH, "Match", /* data of $~ */ + T_MATCH, "MatchData", /* data of $~ */ T_VARMAP, "Varmap", /* internal use: dynamic variables */ T_SCOPE, "Scope", /* internal use: variable scope */ T_NODE, "Node", /* internal use: syntax tree node */ -- cgit v1.2.3