diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | version.h | 2 | ||||
-rw-r--r-- | win32/win32.c | 1 |
3 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed May 23 06:14:15 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * win32/win32.c (move_to_next_entry): loc also must move forward. + [ruby-talk:251987] + Wed May 23 05:55:04 2007 NAKAMURA Usaku <usa@ruby-lang.org> * win32/win32.c (init_stdhandle): stderr should be without buffering, @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2007-05-23" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20070523 -#define RUBY_PATCHLEVEL 23 +#define RUBY_PATCHLEVEL 24 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 diff --git a/win32/win32.c b/win32/win32.c index ba0a26b602..99cec1cc93 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; |