diff options
author | kanemoto <kanemoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-30 01:02:46 +0000 |
---|---|---|
committer | kanemoto <kanemoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-30 01:02:46 +0000 |
commit | 2a5177e757ca0e26c1c05c0c05b37f161513e5e6 (patch) | |
tree | 7acf40b7111b16311d7a0ccb0c459044730d5228 | |
parent | 33671c826df70a4f2dc3ceb40219655e8c69878b (diff) | |
download | ruby-2a5177e757ca0e26c1c05c0c05b37f161513e5e6.tar.gz |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | io.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Jan 30 09:37:25 2011 Yutaka Kanemoto <kanemoto@ruby-lang.org> + + * io.c (struct argf): char behaves like an unsigned char + by default on AIX. + Sun Jan 30 08:02:55 2011 NARUSE, Yui <naruse@ruby-lang.org> * configure.in: Mac OS X wrongly reports it has fdatasync(3). @@ -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; |