* io.c (read_all): should use off_t instead of long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3badfbf1d5
commit
3bf972993f
@ -1,3 +1,7 @@
|
||||
Thu Aug 29 13:36:42 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* io.c (read_all): should use off_t instead of long.
|
||||
|
||||
Thu Aug 29 00:55:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* marshal.c (r_object): yield loaded objects, not intermediates.
|
||||
|
2
io.c
2
io.c
@ -642,7 +642,7 @@ read_all(fptr, siz)
|
||||
VALUE str;
|
||||
long bytes = 0;
|
||||
long n;
|
||||
long pos = 0;
|
||||
off_t pos = 0;
|
||||
|
||||
if (feof(fptr->f)) return Qnil;
|
||||
READ_CHECK(fptr->f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user