mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
616c1cd971
commit
b35df6aae2
6 changed files with 39 additions and 25 deletions
4
dir.c
4
dir.c
|
@ -334,7 +334,7 @@ static VALUE
|
|||
dir_tell(dir)
|
||||
VALUE dir;
|
||||
{
|
||||
#if !defined(__CYGWIN32__) && !defined(__BEOS__)
|
||||
#ifdef HAVE_TELLDIR
|
||||
DIR *dirp;
|
||||
long pos;
|
||||
|
||||
|
@ -352,7 +352,7 @@ dir_seek(dir, pos)
|
|||
{
|
||||
DIR *dirp;
|
||||
|
||||
#if !defined(__CYGWIN32__) && !defined(__BEOS__)
|
||||
#ifdef HAVE_SEEKDIR
|
||||
GetDIR(dir, dirp);
|
||||
seekdir(dirp, NUM2INT(pos));
|
||||
return dir;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue