]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
posix: Fix tst-spawn.c issue from commit 805334b26c
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sat, 5 Jan 2019 13:58:47 +0000 (11:58 -0200)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Sat, 5 Jan 2019 13:58:47 +0000 (11:58 -0200)
Checked on powerpc64le-linux-gnu.

* posix/tst-spawn.c (do_test): Extend spargv to new required size and
fix typo.

ChangeLog
posix/tst-spawn.c

index ca5d37337fa5ee25b3535a61101828e3658d7feb..f9854eda1db107e4e09b500bd16ffc7b09233484 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        [BZ #19444]
index b45e0d885e9cf1e0e46972455ad03f23cac55f63..eea5addbf33b14b256c12a145b9fef1af053a4fd 100644 (file)
@@ -154,7 +154,7 @@ do_test (int argc, char *argv[])
   char fd4name[18];
   char fd5name[18];
   char *name3_copy;
-  char *spargv[12];
+  char *spargv[13];
   int i;
 
   /* We must have
@@ -169,7 +169,7 @@ do_test (int argc, char *argv[])
        + the newly opened file descriptor
        + the duped second 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.
   */
   if (argc != (restart ? 7 : 2) && argc != (restart ? 7 : 5))