| Index: runtime/bin/directory_win.cc
|
| diff --git a/runtime/bin/directory_win.cc b/runtime/bin/directory_win.cc
|
| index a2c4ec031cc54222989768be87f692fc5b0ae617..0fb1e1e245e3e29691162a3eb6bdad01831a9693 100644
|
| --- a/runtime/bin/directory_win.cc
|
| +++ b/runtime/bin/directory_win.cc
|
| @@ -165,12 +165,12 @@ static bool ListRecursively(const char* dir_name,
|
| recursive,
|
| listing);
|
|
|
| - while ((FindNextFile(find_handle, &find_file_data) != 0) && success) {
|
| - success = success && HandleEntry(&find_file_data,
|
| - path,
|
| - path_length,
|
| - recursive,
|
| - listing);
|
| + while ((FindNextFile(find_handle, &find_file_data) != 0)) {
|
| + success = HandleEntry(&find_file_data,
|
| + path,
|
| + path_length,
|
| + recursive,
|
| + listing) && success;
|
| }
|
|
|
| if (GetLastError() != ERROR_NO_MORE_FILES) {
|
|
|