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:
1493c6a
)
don't abort()
author
Scott Graham
<scottmg@chromium.org>
Tue, 9 Jun 2015 17:15:11 +0000
(10:15 -0700)
committer
Scott Graham
<scottmg@chromium.org>
Tue, 9 Jun 2015 17:15:11 +0000
(10:15 -0700)
src/msvc_helper-win32.cc
patch
|
blob
|
history
diff --git
a/src/msvc_helper-win32.cc
b/src/msvc_helper-win32.cc
index
4b22c7a
..
f875633
100644
(file)
--- a/
src/msvc_helper-win32.cc
+++ b/
src/msvc_helper-win32.cc
@@
-98,9
+98,9
@@
string CLParser::Parse(const string& output, const string& deps_prefix) {
string normalized;
string err;
if (!IncludesNormalize::Normalize(include, NULL, &normalized, &err)) {
-
printf
("failed to normalize path: %s: %s\n", include.c_str(),
-
err.c_str());
-
abort(
);
+
Error
("failed to normalize path: %s: %s\n", include.c_str(),
+ err.c_str());
+
exit(1
);
}
if (!IsSystemInclude(normalized))
includes_.insert(normalized);