Current-Users archive

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

Re: posix_spawn issue?



On Sun, May 02, 2021 at 03:33:32PM +0900, Ryo ONODERA wrote:
> Hi,
> 
> I have uploaded simple test Makefiles:
> https://www.netbsd.org/~ryoon/gmake-tests-20210502.tar.gz
> 
> It is as follows:
> 
> $ cat Makefile
> all:
>         ${MAKE} -C test-a
> 
> clean:
>         ${MAKE} -C test-a clean
> 
> 

It does a posix_spawn call for:

  make -C test-a test-a

(I tested with the "make" binary in the pkgobj dir)

and that child gmake says:

make: Entering directory '/tmp/gmake-tests/test-a'
make: *** No rule to make target 'test-a'.  Stop.
make: Leaving directory '/tmp/gmake-tests/test-a'


So I'd say the argv[] creation for the posix_spawn call is bogus.

Martin


Home | Main Index | Thread Index | Old Index