| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e285a7a commit 3d20415
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | #include "node_buffer.h" | |
| 2 | 2 | #include "node_internals.h" | |
| 3 | 3 | #include "libplatform/libplatform.h" | |
| 4 | + #include "util.h" | ||
| 4 | 5 | ||
| 5 | 6 | #include <string> | |
| 6 | 7 | #include "gtest/gtest.h" | |
@@ -10,6 +11,7 @@ | |||
| 10 | 11 | ||
| 11 | 12 | using node::AtExit; | |
| 12 | 13 | using node::RunAtExit; | |
| 14 | + using node::USE; | ||
| 13 | 15 | ||
| 14 | 16 | static bool called_cb_1 = false; | |
| 15 | 17 | static bool called_cb_2 = false; | |
@@ -74,7 +76,7 @@ class RedirectStdErr { | |||
| 74 | 76 | fflush(stderr); | |
| 75 | 77 | fgetpos(stderr, &pos_); | |
| 76 | 78 | fd_ = dup(fileno(stderr)); | |
| 77 | - freopen(filename_, "w", stderr); | ||
| 79 | + USE(freopen(filename_, "w", stderr)); | ||
| 78 | 80 | } | |
| 79 | 81 | ||
| 80 | 82 | ~RedirectStdErr() { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments