We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d21070e commit 412aa96Copy full SHA for 412aa96
util/parallel.cpp
@@ -4,6 +4,7 @@
4
#include "util/parallel.h"
5
#include "util/compiler.h"
6
#include <cassert>
7
+#include <cstring>
8
#include <fcntl.h>
9
#include <fstream>
10
#include <regex>
@@ -181,7 +182,7 @@ void parallel::finishChild(bool is_timeout) {
181
182
ensureChild();
183
if (is_timeout) {
184
const char *msg = "ERROR: Timeout asynchronous\n\n";
- safe_write(fd_to_parent, msg, strlen(msg));
185
+ safe_write(fd_to_parent, msg, std::strlen(msg));
186
} else {
187
childProcess &me = children.back();
188
auto data = move(me.output).str();
0 commit comments