daily CVS update output

2022-07-26 Thread NetBSD source update
Updating src tree: P src/sys/arch/alpha/common/bus_dma.c P src/sys/arch/arc/arc/bus_dma.c P src/sys/arch/arm/arm32/bus_dma.c P src/sys/arch/atari/atari/bus.c P src/sys/arch/emips/emips/bus_dma.c P src/sys/arch/ews4800mips/ews4800mips/bus_dma.c P src/sys/arch/hpcmips/hpcmips/bus_dma.c P src/sys/ar

Re: namespace pollution? clone()

2022-07-26 Thread Martin Husemann
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 a

Re: namespace pollution? clone()

2022-07-26 Thread Valery Ushakov
On Tue, Jul 26, 2022 at 13:27:43 +0300, Valery Ushakov wrote: > On Tue, Jul 26, 2022 at 12:00:16 +0200, Thomas Klausner wrote: > > > I wonder why it's visible though, since in sched.h it's protected by > > _NETBSD_SOURCE. > > Re-run that command with -E -dD and without -c and related options Ok

Re: namespace pollution? clone()

2022-07-26 Thread Valery Ushakov
On Tue, Jul 26, 2022 at 12:00:16 +0200, Thomas Klausner wrote: > I wonder why it's visible though, since in sched.h it's protected by > _NETBSD_SOURCE. Re-run that command with -E -dD and without -c and related options -uwe

Re: namespace pollution? clone()

2022-07-26 Thread Thomas Klausner
On Tue, Jul 26, 2022 at 06:11:36AM -0400, Greg Troxel wrote: > So where is the visibility restriction? Oh, that's probably a misunderstanding on my side. Thomas

Re: namespace pollution? clone()

2022-07-26 Thread Greg Troxel
Thomas Klausner writes: > When compiling inkscape I found a weird compilation error that I > traced down to clone() being in the visible namespace. > > https://gitlab.com/inkscape/inbox/-/issues/7378 It's too bad they are expressing 'not supported' to avoid a reasonable change. Normally 'not s

namespace pollution? clone()

2022-07-26 Thread Thomas Klausner
Hi! When compiling inkscape I found a weird compilation error that I traced down to clone() being in the visible namespace. https://gitlab.com/inkscape/inbox/-/issues/7378 I wonder why it's visible though, since in sched.h it's protected by _NETBSD_SOURCE. The command line is cd /scratch/graph