[前][次][番号順一覧][スレッド一覧]

ruby-changes:18700

From: kanemoto <ko1@a...>
Date: Sun, 30 Jan 2011 10:02:54 +0900 (JST)
Subject: [ruby-changes:18700] Ruby:r30726 (trunk): io.c (struct argf): char behaves like an unsigned char by default on AIX.

kanemoto	2011-01-30 10:02:46 +0900 (Sun, 30 Jan 2011)

  New Revision: 30726

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=30726

  Log:
    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

  Modified files:
    trunk/ChangeLog
    trunk/io.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 30725)
+++ ChangeLog	(revision 30726)
@@ -1,3 +1,8 @@
+Sun Jan 30 09:37:25 2011  Yutaka Kanemoto  <kanemoto@r...>
+
+	* io.c (struct argf): char behaves like an unsigned char
+	  by default on AIX.
+
 Sun Jan 30 08:02:55 2011  NARUSE, Yui  <naruse@r...>
 
 	* configure.in: Mac OS X wrongly reports it has fdatasync(3).
Index: io.c
===================================================================
--- io.c	(revision 30725)
+++ io.c	(revision 30726)
@@ -150,7 +150,7 @@
     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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]