summaryrefslogtreecommitdiffstats
path: root/error.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-01 08:31:49 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-01 08:31:49 +0000
commitf6a233057f0329372374129f06ad4d9815a3fa8e (patch)
treea528c42a0de4c92f7dd999523f0b477d2f4faa6c /error.c
parentfa38e59a5fd4177872a21b4411aaca9de1787747 (diff)
downloadruby-f6a233057f0329372374129f06ad4d9815a3fa8e.tar.gz
ruby-f6a233057f0329372374129f06ad4d9815a3fa8e.tar.xz
ruby-f6a233057f0329372374129f06ad4d9815a3fa8e.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@2316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index ecec654a3..edf0b16e2 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 */