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

* 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:
eban 2002-08-29 04:38:37 +00:00
parent 3badfbf1d5
commit 3bf972993f
3 changed files with 7 additions and 3 deletions

View file

@ -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
View file

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

View file

@ -1,4 +1,4 @@
#define RUBY_VERSION "1.7.3"
#define RUBY_RELEASE_DATE "2002-08-28"
#define RUBY_RELEASE_DATE "2002-08-29"
#define RUBY_VERSION_CODE 173
#define RUBY_RELEASE_CODE 20020828
#define RUBY_RELEASE_CODE 20020829