posix: Fix tst-spawn.c issue from commit 805334b26c
Checked on powerpc64le-linux-gnu. * posix/tst-spawn.c (do_test): Extend spargv to new required size and fix typo.
This commit is contained in:
parent
890461fe12
commit
b79dc8d0fe
|
@ -1,3 +1,8 @@
|
||||||
|
2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
|
* posix/tst-spawn.c (do_test): Extend spargv to new required size and
|
||||||
|
fix typo.
|
||||||
|
|
||||||
2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
|
2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
|
||||||
|
|
||||||
[BZ #19444]
|
[BZ #19444]
|
||||||
|
|
|
@ -154,7 +154,7 @@ do_test (int argc, char *argv[])
|
||||||
char fd4name[18];
|
char fd4name[18];
|
||||||
char fd5name[18];
|
char fd5name[18];
|
||||||
char *name3_copy;
|
char *name3_copy;
|
||||||
char *spargv[12];
|
char *spargv[13];
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* We must have
|
/* We must have
|
||||||
|
@ -169,7 +169,7 @@ do_test (int argc, char *argv[])
|
||||||
+ the newly opened file descriptor
|
+ the newly opened file descriptor
|
||||||
+ the duped second descriptor
|
+ the duped second descriptor
|
||||||
+ the name of the closed descriptor
|
+ the name of the closed descriptor
|
||||||
+ the duped fourth dile descriptor which O_CLOEXEC should be
|
+ the duped fourth file descriptor which O_CLOEXEC should be
|
||||||
remove by adddup2.
|
remove by adddup2.
|
||||||
*/
|
*/
|
||||||
if (argc != (restart ? 7 : 2) && argc != (restart ? 7 : 5))
|
if (argc != (restart ? 7 : 2) && argc != (restart ? 7 : 5))
|
||||||
|
|
Loading…
Reference in New Issue