зеркало из https://github.com/github/ruby.git
* 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:
Родитель
3badfbf1d5
Коммит
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);
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче