summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-04 13:57:06 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-10-04 13:57:06 +0000
commit10f8ee308b43dcf4e42d3e9ab6bc701c578e74bc (patch)
treefed14f02c23978b6d2edd58b011c1329b9eb99d8 /io.c
parentbffac137b66af3f0686df363fb01ff2a563d1298 (diff)
downloadruby-10f8ee308b43dcf4e42d3e9ab6bc701c578e74bc.tar.gz
ruby-10f8ee308b43dcf4e42d3e9ab6bc701c578e74bc.tar.xz
ruby-10f8ee308b43dcf4e42d3e9ab6bc701c578e74bc.zip
* dln.c: Ruby no longer supports VMS.
* error.c: ditto. * eval.c: ditto. * eval_intern.h: ditto. * include/ruby/defines.h: ditto. * include/ruby/ruby.h: ditto. * io.c: ditto. * process.c: ditto. * ruby.c: ditto. * vms/config.h: removed. * vms/vms.h: ditto. * vms/vmsruby_private.c: ditto. * vms/vmsruby_private.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/io.c b/io.c
index 354edd7ed..a4391d576 100644
--- a/io.c
+++ b/io.c
@@ -159,16 +159,10 @@ static int max_file_descriptor = NOFILE;
# define STDIO_READ_DATA_PENDING(fp) ((fp)->FILE_READPTR < (fp)->FILE_READEND)
#elif defined(__BEOS__)
# define STDIO_READ_DATA_PENDING(fp) (fp->_state._eof == 0)
-#elif defined(__VMS)
-# define STDIO_READ_DATA_PENDING(fp) (((unsigned int)(*(fp))->_cnt) > 0)
#else
# define STDIO_READ_DATA_PENDING(fp) (!feof(fp))
#endif
-#if defined(__VMS)
-#define open(file_spec, flags, mode) open(file_spec, flags, mode, "rfm=stmlf")
-#endif
-
#define GetWriteIO(io) rb_io_get_write_io(io)
#define READ_DATA_PENDING(fptr) ((fptr)->rbuf_len)