diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-01 08:31:49 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-01 08:31:49 +0000 |
commit | de373b1b6cddf602cad483b7ede7b378666d837c (patch) | |
tree | a528c42a0de4c92f7dd999523f0b477d2f4faa6c /error.c | |
parent | 360453ce14e637e653005232aab50e6294a3fa48 (diff) | |
download | ruby-de373b1b6cddf602cad483b7ede7b378666d837c.tar.gz |
* 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
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |