projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc222d3
)
fix windows build
author
Evan Martin
<martine@danga.com>
Wed, 8 Aug 2012 16:32:50 +0000
(09:32 -0700)
committer
Evan Martin
<martine@danga.com>
Wed, 8 Aug 2012 16:32:50 +0000
(09:32 -0700)
src/ninja.cc
patch
|
blob
|
history
diff --git
a/src/ninja.cc
b/src/ninja.cc
index d212579526be5a15d41fe8247e5ccfcd6632607d..b645b90f5fac19f39203b293cea0bdeceada3dea 100644
(file)
--- a/
src/ninja.cc
+++ b/
src/ninja.cc
@@
-749,7
+749,7
@@
reload:
string log_path = kLogPath;
if (!build_dir.empty()) {
log_path = build_dir + "/" + kLogPath;
- if (
globals.disk_interface.MakeDirs(log_path) < 0
&& errno != EEXIST) {
+ if (
!globals.disk_interface.MakeDirs(log_path)
&& errno != EEXIST) {
Error("creating build directory %s: %s",
build_dir.c_str(), strerror(errno));
return 1;