[Toybox] [PATCH] macOS: silence the "vfork() is deprecated" warning spam.

Rob Landley rob at landley.net
Mon May 16 13:47:38 PDT 2022


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



More information about the Toybox mailing list