summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authorkanemoto <kanemoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-30 01:02:46 +0000
committerkanemoto <kanemoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-30 01:02:46 +0000
commit2a5177e757ca0e26c1c05c0c05b37f161513e5e6 (patch)
tree7acf40b7111b16311d7a0ccb0c459044730d5228 /io.c
parent33671c826df70a4f2dc3ceb40219655e8c69878b (diff)
io.c (struct argf): char behaves like an unsigned char by default on AIX.
http://publib.boulder.ibm.com/infocenter/comphelp/v111v131/index.jsp?topic=/com.ibm.xlcpp111.aix.doc/language_ref/ch.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 17784588bb..0b0a278697 100644
--- a/io.c
+++ b/io.c
@@ -150,7 +150,7 @@ struct argf {
VALUE argv;
char *inplace;
struct rb_io_enc_t encs;
- char init_p, next_p, binmode;
+ int8_t init_p, next_p, binmode;
};
static int max_file_descriptor = NOFILE;