From: Jeffrey Walton <noloader@gmail.com>
To: Bruno Haible <bruno@clisp.org>
Cc: "bug-gnulib@gnu.org List" <bug-gnulib@gnu.org>
Subject: Re: new modules execve, execvpe, execvp, execv, execl, execle, execlp
Date: Sun, 27 Dec 2020 06:15:01 -0500 [thread overview]
Message-ID: <CAH8yC8=z5eiPQwrYgNp8rx7aX64AEjFn8WfoSPtwnU=YLzz1aQ@mail.gmail.com> (raw)
In-Reply-To: <19625603.TXvseGJZxX@omega>
On Sat, Dec 26, 2020 at 8:53 AM Bruno Haible <bruno@clisp.org> wrote:
>
> ...
> All of these problems are fixed with these new Gnulib modules.
>
Just an FYI in case you have not hit this wall (yet?)... The exec
family, posix_spawn and friends are _not_ available on all Apple
platforms. Be sure to check availability before using them.
For example, the iPhone/iPad SDKs has them, but the WatchOS and TvOS
SDKs lack them. To further complicate matters, you have to include
<TargetConditionals.h> before you can check for the SDK.
Here's what unbound does in libunbound/libworker.c
(https://github.com/NLnetLabs/unbound/blob/master/libunbound/libworker.c)
#ifdef HAVE_TARGETCONDITIONALS_H
#include <TargetConditionals.h>
#endif
#if (defined(TARGET_OS_TV) && TARGET_OS_TV) ||
(defined(TARGET_OS_WATCH) && TARGET_OS_WATCH)
# undef HAVE_FORK
#endif
Jeff
next prev parent reply other threads:[~2020-12-27 11:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-26 13:53 new modules execve, execvpe, execvp, execv, execl, execle, execlp Bruno Haible
2020-12-27 11:15 ` Jeffrey Walton [this message]
2020-12-27 12:19 ` Apple embedded OSes Bruno Haible
2020-12-27 19:08 ` Jeffrey Walton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH8yC8=z5eiPQwrYgNp8rx7aX64AEjFn8WfoSPtwnU=YLzz1aQ@mail.gmail.com' \
--to=noloader@gmail.com \
--cc=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).