1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
kanemoto 2011-01-30 01:02:46 +00:00
parent 33671c826d
commit 2a5177e757
2 changed files with 6 additions and 1 deletions

View file

@ -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).

2
io.c
View file

@ -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;