summaryrefslogtreecommitdiff
path: root/rubyio.h
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-23 10:12:35 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-23 10:12:35 +0000
commit4ff1561a8c3a0b1eb682feb7a03e2d1300e4abfa (patch)
tree4350800533845f058600f124774a4067cc705938 /rubyio.h
parent13fde676feb8c1280f674cb7537fb680bb86eef7 (diff)
* rubyio.h: rename FMODE_UNSEEKABLE to FMODE_DUPLEX.
* io.c (io_check_tty): extracted function to set FMODE_LINEBUF and FMODE_DUPLEX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubyio.h b/rubyio.h
index e9716c0306..d9e734fa12 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -47,7 +47,7 @@ typedef struct OpenFile {
#define FMODE_BINMODE 4
#define FMODE_SYNC 8
#define FMODE_LINEBUF 16
-#define FMODE_UNSEEKABLE 32
+#define FMODE_DUPLEX 32
#define GetOpenFile(obj,fp) rb_io_check_closed((fp) = RFILE(rb_io_taint_check(obj))->fptr)