summaryrefslogtreecommitdiff
path: root/rubyio.h
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-01 07:39:09 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-01 07:39:09 +0000
commit1550277b3458f2981dac537bd55ee52f5ad5b0e3 (patch)
treeef1aaf41369f3da489e8bdde5e5a41ca58d5a7ba /rubyio.h
parent1ecdc6a115f48c880dff0cbc04f4de831480c748 (diff)
* re.c (match_setter): it's OK to assign nil to $~.
* io.c (rb_io_fptr_cleanup): do not close IO created by for_fd(). * io.c (rb_io_initialize): mark IO created by for_fd * ext/socket/socket.c (bsock_s_for_fd): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rubyio.h b/rubyio.h
index 214128449f..3599334f62 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -32,6 +32,7 @@ typedef struct OpenFile {
#define FMODE_BINMODE 4
#define FMODE_SYNC 8
#define FMODE_WBUF 16
+#define FMODE_FDOPEN 32
#define GetOpenFile(obj,fp) rb_io_check_closed((fp) = RFILE(rb_io_taint_check(obj))->fptr)