| Index: runtime/bin/directory_win.cc
|
| diff --git a/runtime/bin/directory_win.cc b/runtime/bin/directory_win.cc
|
| index 08d502bbfe7b0cc8bdf98b085489c5e971ff5da2..436f9875b091c933e93d29a2f6442a000566d7eb 100644
|
| --- a/runtime/bin/directory_win.cc
|
| +++ b/runtime/bin/directory_win.cc
|
| @@ -348,6 +348,9 @@ char* Directory::Current() {
|
|
|
|
|
| bool Directory::Create(const char* dir_name) {
|
| + // If the directory already exists and is a directory do not
|
| + // attempt to create it again and treat it as a success.
|
| + if (Exists(dir_name) == EXISTS) return true;
|
| return (CreateDirectory(dir_name, NULL) != 0);
|
| }
|
|
|
|
|