Home
last modified time | relevance | path

Searched refs:temp_fd2 (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/posix/
Dtst-exec.c51 static int temp_fd2 = -1; variable
67 temp_fd2 = create_temp_file ("exec", &name2); in do_prepare()
68 if (temp_fd1 < 0 || temp_fd2 < 0) in do_prepare()
162 if (write (temp_fd2, fd2string, strlen (fd2string)) != strlen (fd2string)) in do_test()
174 snprintf (fd2name, sizeof fd2name, "%d", temp_fd2); in do_test()
Dtst-spawn.c50 static int temp_fd2 = -1; variable
70 TEST_VERIFY_EXIT ((temp_fd2 = create_temp_file ("spawn", &name2)) != -1); in do_prepare()
186 xwrite (temp_fd2, fd2string, strlen (fd2string)); in do_test()
207 fd4 = MAX (2, MAX (temp_fd1, MAX (temp_fd2, MAX (temp_fd3, temp_fd5)))) + 1; in do_test()
208 TEST_COMPARE (posix_spawn_file_actions_adddup2 (&actions, temp_fd2, fd4), in do_test()
219 snprintf (fd2name, sizeof fd2name, "%d", temp_fd2); in do_test()
/glibc-2.36/ChangeLog.old/
DChangeLog.185880 * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5882 Initialize temp_fd1, temp_fd2.
5883 (do_test): Use global temp_fd1, temp_fd2 variables. Let the test
5885 * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5887 Initialize temp_fd1, temp_fd2, temp_fd3.
5888 (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables. Let