diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-19 21:10:28 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-19 21:10:28 +0000 |
commit | f78380f0f1e4941119bef7661eb7b0afe2df089c (patch) | |
tree | 9a726690773832dc231ba6fdcb816b1ea9934987 /include/ruby/io.h | |
parent | 297f3249d9452afc70cbd0d99eb9f707361df581 (diff) |
* include/ruby/io.h (FMODE_TRUNC): value changed because 0x100 is used
as FMODE_NOREVLOOKUP in socket.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/io.h')
-rw-r--r-- | include/ruby/io.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ruby/io.h b/include/ruby/io.h index 391ada81f2..7312f4e9ab 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -81,9 +81,11 @@ typedef struct rb_io_t { #define FMODE_DUPLEX 0x0020 #define FMODE_APPEND 0x0040 #define FMODE_CREATE 0x0080 -#define FMODE_TRUNC 0x0100 +/* #define FMODE_NOREVLOOKUP 0x0100 */ #define FMODE_WSPLIT 0x0200 #define FMODE_WSPLIT_INITIALIZED 0x0400 +#define FMODE_TRUNC 0x0800 +/* #define FMODE_PREP 0x10000 */ #define GetOpenFile(obj,fp) rb_io_check_closed((fp) = RFILE(rb_io_taint_check(obj))->fptr) |