[bug #63070] posix_spawn fails to run a child process.

2022-09-16 Thread anonymous
Follow-up Comment #2, bug #63070 (project make): No, if posix_spawn() returns zero then then errno's value is unspecified and any checks againstĀ it are invalid resulting in false positives.If some versions of glibc have posix_spawn() return 0 when they did not create the targetĀ process then the

[bug #63071] Race condition in .WAIT tests.

2022-09-16 Thread Dmitry Goncharov
Additional Item Attachment, bug #63071 (project make): File name: sv63071_fix.diff Size:1 KB ___ Reply to this item at:

[bug #63071] Race condition in .WAIT tests.

2022-09-16 Thread Dmitry Goncharov
Follow-up Comment #1, bug #63071 (project make): Test 11 of targets/WAIT fails due to a race. $ cat tests/work/targets/WAIT.diff.11 *** work/targets/WAIT.base.11 Wed Sep 14 18:37:08 2022 --- work/targets/WAIT.log.11Wed Sep 14 18:37:08 2022 *** *** 1,5 - start-pre1

[bug #63071] Race condition in .WAIT tests.

2022-09-16 Thread Dmitry Goncharov
URL: Summary: Race condition in .WAIT tests. Project: make Submitter: dgoncharov Submitted: Sat 17 Sep 2022 01:31:48 AM UTC Severity: 3 - Normal Item Group: Bug

[bug #63070] posix_spawn fails to run a child process.

2022-09-16 Thread Dmitry Goncharov
Additional Item Attachment, bug #63070 (project make): File name: sv63070_fix.diff Size:1 KB ___ Reply to this item at:

[bug #63070] posix_spawn fails to run a child process.

2022-09-16 Thread Dmitry Goncharov
Follow-up Comment #1, bug #63070 (project make): posix_spawn fails to run a child process. Some versions of glibc (i observed this with glibc-2.17) fail to spawn a shell program missing a shbang and return 0 from posix_spawn. $ ls hello.sh makefile $ cat hello.sh printf "hello, world\n" $

[bug #63070] posix_spawn fails to run a child process.

2022-09-16 Thread Dmitry Goncharov
URL: Summary: posix_spawn fails to run a child process. Project: make Submitter: dgoncharov Submitted: Sat 17 Sep 2022 01:23:19 AM UTC Severity: 3 - Normal Item