From 8463a90871adaf82a31e598943ae3762a5a666aa Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 18 Nov 2014 09:10:59 +0000 Subject: * include/ruby/io.h (FMODE_WSPLIT): Removed. The write() system call is not required to split. It was useful to avoid whole process blocking in Ruby 1.8 but not useful since write() is invoked without GVL. (FMODE_WSPLIT_INITIALIZED): Ditto. * io.c (wsplit_p): Removed. (io_writable_length): Removed. (rb_fcntl): Don't update the removed flags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/io.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') diff --git a/include/ruby/io.h b/include/ruby/io.h index 488a092004..048090c27a 100644 --- a/include/ruby/io.h +++ b/include/ruby/io.h @@ -109,8 +109,6 @@ typedef struct rb_io_t { #define FMODE_APPEND 0x00000040 #define FMODE_CREATE 0x00000080 /* #define FMODE_NOREVLOOKUP 0x00000100 */ -#define FMODE_WSPLIT 0x00000200 -#define FMODE_WSPLIT_INITIALIZED 0x00000400 #define FMODE_TRUNC 0x00000800 #define FMODE_TEXTMODE 0x00001000 /* #define FMODE_PREP 0x00010000 */ -- cgit v1.2.3