1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-09-21 09:31:00 +00:00
parent 616c1cd971
commit b35df6aae2
6 changed files with 39 additions and 25 deletions

4
dir.c
View file

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