Fwd: Ruby:r29960 (trunk): * io.c (struct argf): make lineno long, and reorder members

$B6bK$H?=$7$^$9!#(B

AIX$B$G$3$s$J$3$H$K$J$C$F$$$?$N$GD4$Y$F$_$k$H!"(B
% ruby -v -e ‘gets’
ruby 1.9.3dev (2011-01-29 trunk 30717) [powerpc-aix5.3.0.0]
-e:1:in gets': uninitialized stream (IOError) from -e:1:ingets’
from -e:1:in `’

AIX$B$G$O(Bchar$B$,(Bunsigned$B07$$$G$7$?!#(B
io.c$B$N%3%s%Q%$%k$G$3$s$J$3$H$r$$$o$l$^$9!#(B

…/trunk/io.c: In function ‘argf_next_argv’:
…/trunk/io.c:6941: warning: comparison is always false due to limited
range of data type

struct argf {
VALUE filename, current_file;
long last_lineno; /* $. */
long lineno;
VALUE argv;
char *inplace;
struct rb_io_enc_t encs;
char init_p, next_p, binmode;
};
$B$N:G8e$N%a%s%P$r(Bsigned
char$B$+(Bint8_t$B$K$5$;[email protected]$-$?$$$N$G$9$,!"(B
[email protected]$O$"$j$^$9$G$7$g$&$+!)(B
$B$H$j$"$($:<j85$K$"$C$?(Bi386$B$N4D6-$G!"(Bsigned char$B$K$7$F$b(Bmake
test-all$B$G7k2L$,JQ$o$i$J$+$C$?$N$O3NG’$7$^$7$?!#(B
#ifdef [email protected]$1J,$1$?$[$&$,$$$$$G$7$g$&$+!)(B

$B$h$m$7$/$*4j$$$7$^$9!#(B

---------- Forwarded message ----------
From: [email protected]
Date: 2010/11/28
Subject: [ruby-cvs:37153] Ruby:r29960 (trunk): * io.c (struct argf):
make lineno long, and reorder members.
To: [email protected]

nobu 2010-11-28 14:56:39 +0900 (Sun, 28 Nov 2010)

New Revision: 29960

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

Log:

  • io.c (struct argf): make lineno long, and reorder members.

Modified files:
trunk/ChangeLog
trunk/io.c

[email protected]$G$9!#(B

At Sat, 29 Jan 2011 10:42:39 +0900,
Yutaka K. wrote in [ruby-dev:43140]:

AIX$B$G$O(Bchar$B$,(Bunsigned$B07$$$G$7$?!#(B
io.c$B$N%3%s%Q%$%k$G$3$s$J$3$H$r$$$o$l$^$9!#(B

…/trunk/io.c: In function ‘argf_next_argv’:
…/trunk/io.c:6941: warning: comparison is always false due to limited
range of data type

$B$&$C$+$j$7$F$^$7$?!#(B

$B$N:G8e$N%a%s%P$r(Bsigned char$B$+(Bint8_t$B$K$5$;[email protected]$-$?$$$N$G$9$,!"(B
[email protected]$O$"$j$^$9$G$7$g$&$+!)(B

int8_t$B$,$$$$$s$8$c$J$$$G$7$g$&$+!#(B

$B6bK$G$9!#(B

[email protected]$O$"$j$^$9$G$7$g$&$+!)(B
int8_t$B$,$$$$$s$8$c$J$$$G$7$g$&$+!#(B
$BN;2r$G$9!#(B
$B$"$H$GF~$l$F$*$-$^$9!#(B
$B$I$&$b$"$j$,$H$&$4$6$$$^$7$?!#(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs