aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-13 14:51:25 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-13 14:51:25 +0000
commit57ed1e9d75360713c3d5d75c4cbb05ea48c8b025 (patch)
tree9321e26d8a5428e277e71636b0b8f8943e5fdc38
parentce90fcdbbd53f002e86a50be3b61a72df3588ca0 (diff)
downloadruby-57ed1e9d75360713c3d5d75c4cbb05ea48c8b025.tar.gz
* ext/io/console/console.c (console_dev): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/io/console/console.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a32b2107b7..4b058a90fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Mon Jun 13 23:50:25 2011 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * ext/io/console/console.c (console_dev): typo.
+
Mon Jun 13 23:38:23 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* parse.y (parser_parse_string): flush delayed token. based on a
diff --git a/ext/io/console/console.c b/ext/io/console/console.c
index 635c2afc9b..f83f81a917 100644
--- a/ext/io/console/console.c
+++ b/ext/io/console/console.c
@@ -587,7 +587,7 @@ console_dev(VALUE klass)
fptr->f2 = ofptr->f;
ofptr->f = 0;
# endif
- optr->mode |= FMODE_SYNC;
+ ofptr->mode |= FMODE_SYNC;
#endif
fptr->mode |= FMODE_SYNC;
rb_const_set(klass, id_console, con);