[PATCH 2/2] posix: Clear close-on-exec for posix_spawn adddup2 (BZ#23640)

Gabriel F. T. Gomes gabriel@inconstante.eti.br
Fri Jan 4 20:49:00 GMT 2019


On Thu, Jan 03 2019, Adhemerval Zanella wrote:
> Pushed as 805334b26c.

After this commit, tst-spawn and tst-spawn-static are failing for me,
with the following error messages:

tst-spawn.c:128: numeric comparison failure
   left: 29 (0x1d); from: errno
  right: 9 (0x9); from: EBADF
error: 1 test failures
tst-spawn.c:128: numeric comparison failure
   left: 29 (0x1d); from: errno
  right: 9 (0x9); from: EBADF
error: 1 test failures
tst-spawn.c:252: numeric comparison failure
   left: 1 (0x1); from: WEXITSTATUS (status)
  right: 0 (0x0); from: 0
tst-spawn.c:257: numeric comparison failure
   left: 1 (0x1); from: WEXITSTATUS (status)
  right: 0 (0x0); from: 0
error: 2 test failures

And it's weird, because tst-spawn.c:128 is not a test for the newly
added fd5, it's an old test for fd1.

Have you seen similar results somewhere else?



More information about the Libc-alpha mailing list