1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/win32.c (move_to_next_entry): loc also must move forward.

[ruby-talk:251987]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2007-05-18 08:09:21 +00:00
parent d38062a72f
commit ff964e8aa2
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Fri May 18 17:10:31 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/win32.c (move_to_next_entry): loc also must move forward.
[ruby-talk:251987]
Fri May 18 03:02:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* win32/mkexports.rb: preserve prefixed underscores for WINAPI

View file

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