Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: namespace pollution? clone()



On Tue, Jul 26, 2022 at 03:46:14PM +0300, Valery Ushakov wrote:
> On Linux clone(2) is declared only for _GNU_SOURCE, which explains why
> linux doesn't run into the name clash.  I gather we should follow
> suit, as that's what the apps expect.

Yes, that is the right thing to do here, especially as clone(2) does
only exist as a portability helper for linux code.

I think we could even pull that change up to -9.

Martin


Home | Main Index | Thread Index | Old Index