diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-29 04:38:37 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-29 04:38:37 +0000 |
| commit | ec446f90ef6c2809ef05a6d1d564cb712d99df10 (patch) | |
| tree | 26ff043be3572f07427d8d2c5727917543b0ad9f /io.c | |
| parent | 7c1498e09fddc0a5d05ed14e5acff3947e9d68f4 (diff) | |
| download | ruby-ec446f90ef6c2809ef05a6d1d564cb712d99df10.tar.gz ruby-ec446f90ef6c2809ef05a6d1d564cb712d99df10.tar.xz ruby-ec446f90ef6c2809ef05a6d1d564cb712d99df10.zip | |
* io.c (read_all): should use off_t instead of long.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
| -rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
