<div dir="ltr"><div>i haven't tested non-mac, but that certainly still works on macOS :-)</div><div><br></div><div>(i'd have put it there myself if i'd known; i just grepped for `-Wno-` to find somewhere to put it.)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 16, 2022 at 1:42 PM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 5/16/22 11:16, enh via Toybox wrote:<br>
> This was the resolution from the discussion on mailing list; basically<br>
> "if Apple does remove vfork(), things will break quite obviously,<br>
> and we'll deal with it then".<br>
> <br>
> The apparent alternative mentioned on the mailing list of setting<br>
> _POSIX_C_SOURCE doesn't work, because that *removes* the declaration<br>
> of chroot().<br>
<br>
Sigh, I wound up applying a patch on top of yours anyway because I'd rather the<br>
mac-only flag go in a mac-only area so I know why it's there. (Otherwise they<br>
pile up and I lose track of why.)<br>
<br>
I don't _think_ broke anything...<br>
<br>
Rob<br>
_______________________________________________<br>
Toybox mailing list<br>
<a href="mailto:Toybox@lists.landley.net" target="_blank">Toybox@lists.landley.net</a><br>
<a href="http://lists.landley.net/listinfo.cgi/toybox-landley.net" rel="noreferrer" target="_blank">http://lists.landley.net/listinfo.cgi/toybox-landley.net</a><br>
</blockquote></div></div>