diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-23 10:12:35 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-23 10:12:35 +0000 |
commit | 4ff1561a8c3a0b1eb682feb7a03e2d1300e4abfa (patch) | |
tree | 4350800533845f058600f124774a4067cc705938 /rubyio.h | |
parent | 13fde676feb8c1280f674cb7537fb680bb86eef7 (diff) | |
download | ruby-4ff1561a8c3a0b1eb682feb7a03e2d1300e4abfa.tar.gz |
* 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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |