summaryrefslogtreecommitdiffstats
path: root/src/subprocess-win32.cc
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2012-12-29 20:02:16 (GMT)
committerEvan Martin <martine@danga.com>2012-12-29 20:33:15 (GMT)
commit3249938cdf574058a066436aea06b0541ded6958 (patch)
tree1dd2f33756337463972fdd21f20ef613ebbb2914 /src/subprocess-win32.cc
parent7d41c2f521e27a3c2891e6f1c8da42f0f6f3c266 (diff)
downloadNinja-3249938cdf574058a066436aea06b0541ded6958.zip
Ninja-3249938cdf574058a066436aea06b0541ded6958.tar.gz
Ninja-3249938cdf574058a066436aea06b0541ded6958.tar.bz2
wrap some overlong lines
Diffstat (limited to 'src/subprocess-win32.cc')
-rw-r--r--src/subprocess-win32.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/subprocess-win32.cc b/src/subprocess-win32.cc
index 4b103a5..1b230b6 100644
--- a/src/subprocess-win32.cc
+++ b/src/subprocess-win32.cc
@@ -101,14 +101,17 @@ bool Subprocess::Start(SubprocessSet* set, const string& command) {
NULL, NULL,
&startup_info, &process_info)) {
DWORD error = GetLastError();
- if (error == ERROR_FILE_NOT_FOUND) { // file (program) not found error is treated as a normal build action failure
+ if (error == ERROR_FILE_NOT_FOUND) {
+ // File (program) not found error is treated as a normal build
+ // action failure.
if (child_pipe)
CloseHandle(child_pipe);
CloseHandle(pipe_);
CloseHandle(nul);
pipe_ = NULL;
// child_ is already NULL;
- buf_ = "CreateProcess failed: The system cannot find the file specified.\n";
+ buf_ = "CreateProcess failed: The system cannot find the file "
+ "specified.\n";
return true;
} else {
Win32Fatal("CreateProcess"); // pass all other errors to Win32Fatal