aboutsummaryrefslogtreecommitdiff
path: root/tests/progress
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:42:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2020-02-12 21:42:20 +0300
commit282dce564a6cd33469f6b82ce94582bc4d9121be (patch)
tree3e8dceb6e0489bdddbd15cac22365a5ed6ca68a4 /tests/progress
parent5fb6e5041b65150ec1c78d5e39caeb23e2f9a531 (diff)
Rename fdnull() to fdopen_null()
Diffstat (limited to 'tests/progress')
-rw-r--r--tests/progress/driver.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/progress/driver.cxx b/tests/progress/driver.cxx
index 2ec310b..2a0b647 100644
--- a/tests/progress/driver.cxx
+++ b/tests/progress/driver.cxx
@@ -37,7 +37,7 @@ import butl.optional; // @@ MOD Clang should not be necessary.
import butl.small_vector; // @@ MOD Clang should not be necessary.
#else
#include <libbutl/process.mxx>
-#include <libbutl/fdstream.mxx> // fdnull(), stderr_fd()
+#include <libbutl/fdstream.mxx> // fdopen_null(), stderr_fd()
#include <libbutl/diagnostics.mxx>
#endif
@@ -112,7 +112,8 @@ main (int argc, const char* argv[])
}
process pr (!no_child
- ? process_start (fdnull (), fdnull (), 2, argv[0], "-c")
+ ? process_start (fdopen_null (), fdopen_null (), 2,
+ argv[0], "-c")
: process (process_exit (0))); // Exited normally.
for (size_t i (100); i != 0; --i)