This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] posix: Clear close-on-exec for posix_spawn adddup2 (BZ#23640)
- From: "Gabriel F. T. Gomes" <gabriel at inconstante dot eti dot br>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: Siddhesh Poyarekar <siddhesh at gotplt dot org>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 4 Jan 2019 18:49:05 -0200
- Subject: Re: [PATCH 2/2] posix: Clear close-on-exec for posix_spawn adddup2 (BZ#23640)
- References: <20180919224624.3920-1-adhemerval.zanella@linaro.org> <20180919224624.3920-2-adhemerval.zanella@linaro.org> <9981d6d8-48e9-ce63-8205-d45d40cd69f9@linaro.org> <c4509361-aa06-f6f3-60ab-afbfdf448e67@linaro.org> <849ac4b6-5087-c959-250d-25ef79db6e83@gotplt.org> <052687aa-e0fe-9781-72ce-84759c60375d@linaro.org>
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?