[Toybox] [PATCH] macOS: silence the "vfork() is deprecated" warning spam.
enh
enh at google.com
Mon May 16 15:42:25 PDT 2022
i haven't tested non-mac, but that certainly still works on macOS :-)
(i'd have put it there myself if i'd known; i just grepped for `-Wno-` to
find somewhere to put it.)
On Mon, May 16, 2022 at 1:42 PM Rob Landley <rob at landley.net> wrote:
> On 5/16/22 11:16, enh via Toybox wrote:
> > This was the resolution from the discussion on mailing list; basically
> > "if Apple does remove vfork(), things will break quite obviously,
> > and we'll deal with it then".
> >
> > The apparent alternative mentioned on the mailing list of setting
> > _POSIX_C_SOURCE doesn't work, because that *removes* the declaration
> > of chroot().
>
> Sigh, I wound up applying a patch on top of yours anyway because I'd
> rather the
> mac-only flag go in a mac-only area so I know why it's there. (Otherwise
> they
> pile up and I lose track of why.)
>
> I don't _think_ broke anything...
>
> Rob
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20220516/f97ecb1d/attachment-0001.htm>
More information about the Toybox
mailing list