[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #63070] posix_spawn fails to run a child process.
From: |
anonymous |
Subject: |
[bug #63070] posix_spawn fails to run a child process. |
Date: |
Sat, 17 Sep 2022 01:11:38 -0400 (EDT) |
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 configure script needs to check for that and not use
that broken implementation. Otherwise, the result will be double invocations
on correct systems.
NEVER test errno after a function returned success!
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63070>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/16
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/16
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/16
- [bug #63070] posix_spawn fails to run a child process.,
anonymous <=
- [bug #63070] posix_spawn fails to run a child process., Paul D. Smith, 2022/09/17
- [bug #63070] posix_spawn fails to run a child process., Martin Dorey, 2022/09/17
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/18
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/18
- [bug #63070] posix_spawn fails to run a child process., Paul D. Smith, 2022/09/18
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/18
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/18
- [bug #63070] posix_spawn fails to run a child process., Paul D. Smith, 2022/09/20
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/20
- [bug #63070] posix_spawn fails to run a child process., Dmitry Goncharov, 2022/09/20