summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 21:16:13 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-22 21:16:13 +0000
commitd53a933fdfbc4974af43ef6812520324891c70af (patch)
tree3e1c7c8047866af7c9e87a32ea0b707f10f10631 /win32/win32.c
parentf443db268b07a0279d0fc7261fc622a475a55008 (diff)
merge -c 12293
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@12337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index ba0a26b..99cec1c 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1541,6 +1541,7 @@ static void
move_to_next_entry(DIR *dirp)
{
if (dirp->curr) {
+ dirp->loc++;
dirp->curr += strlen(dirp->curr) + 1;
if (dirp->curr >= (dirp->start + dirp->size)) {
dirp->curr = NULL;