Loading system/test/headless/main.cc +2 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,8 @@ class Main : public HeadlessTest<int> { } int Run() override { console_fd = fcntl(STDERR_FILENO, F_DUPFD_CLOEXEC); console_fd = fcntl(STDERR_FILENO, F_DUPFD_CLOEXEC, STDERR_FILENO); ASSERT(console_fd != -1); if (options_.close_stderr_) { fclose(stderr); } Loading Loading
system/test/headless/main.cc +2 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,8 @@ class Main : public HeadlessTest<int> { } int Run() override { console_fd = fcntl(STDERR_FILENO, F_DUPFD_CLOEXEC); console_fd = fcntl(STDERR_FILENO, F_DUPFD_CLOEXEC, STDERR_FILENO); ASSERT(console_fd != -1); if (options_.close_stderr_) { fclose(stderr); } Loading