mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* dir.c (dir_seek): use long for seekdir().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1c2cc09063
commit
fd0a91b5ab
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Mar 12 01:18:09 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* dir.c (dir_seek): use long for seekdir().
|
||||||
|
|
||||||
Thu Mar 12 01:08:27 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Mar 12 01:08:27 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* tool/ytab.sed: replaces backslashes with slash for nmake.
|
* tool/ytab.sed: replaces backslashes with slash for nmake.
|
||||||
|
|
2
dir.c
2
dir.c
|
@ -580,7 +580,7 @@ static VALUE
|
||||||
dir_seek(VALUE dir, VALUE pos)
|
dir_seek(VALUE dir, VALUE pos)
|
||||||
{
|
{
|
||||||
struct dir_data *dirp;
|
struct dir_data *dirp;
|
||||||
off_t p = NUM2OFFT(pos);
|
long p = NUM2LONG(pos);
|
||||||
|
|
||||||
GetDIR(dir, dirp);
|
GetDIR(dir, dirp);
|
||||||
#ifdef HAVE_SEEKDIR
|
#ifdef HAVE_SEEKDIR
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue