summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-05 06:54:57 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-09-05 06:54:57 +0000
commit1ffef20d0a1fc249929c25ff1751405ac12e6d64 (patch)
tree0fc0c7632c71d722058b1f6c7ca513d57611086d /io.c
parent4c0e82cefce1f8966da281941002ad531a0d2ebb (diff)
downloadruby-1ffef20d0a1fc249929c25ff1751405ac12e6d64.tar.gz
ruby-1ffef20d0a1fc249929c25ff1751405ac12e6d64.tar.xz
ruby-1ffef20d0a1fc249929c25ff1751405ac12e6d64.zip
* re.c (Init_Regexp): to_s to be alias to inspect.
* parse.y (yylex): should support 'keyword='. * ruby.c (proc_options): should not adjust argc/argv if -e option is supplied. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/io.c b/io.c
index 3f9e7e3b7..05e1a6a7c 100644
--- a/io.c
+++ b/io.c
@@ -27,7 +27,7 @@
# define NO_LONG_FNAME
#endif
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(sun)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(sun) || defined(_nec_ews)
# define USE_SETVBUF
#endif
@@ -1380,6 +1380,7 @@ rb_io_mode_binmode(mode)
static char*
rb_io_binmode_mode(flags, mode)
int flags;
+ char *mode;
{
char *p = mode;