From 7c243694549cc1d6776873c8a97c99fc5889b68d Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Thu, 19 May 2016 19:27:22 -0700 Subject: fix building on Cygwin Cygwin still doesn't support any of the backtrace functions. Also, remove a spurious newline from a debug message. Fixes #2993 --- src/exec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exec.cpp') diff --git a/src/exec.cpp b/src/exec.cpp index afd09f6a..aefdbc12 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -1058,7 +1058,7 @@ void exec_job(parser_t &parser, job_t *j) { // A 0 pid means we failed to posix_spawn. Since we have no pid, we'll never get // told when it's exited, so we have to mark the process as failed. - debug(2, L"Fork #%d, pid %d: spawn external command '%s' from '%ls'\n", + debug(2, L"Fork #%d, pid %d: spawn external command '%s' from '%ls'", g_fork_count, pid, actual_cmd, file ? file : L""); if (pid == 0) { job_mark_process_as_failed(j, p); -- cgit v1.2.3