NetBSD-Bugs archive

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

Re: bin/45875: usr.bin/make: make -B not using a shell for every command



At Thu, 26 Jan 2012 18:40:04 +0000 (UTC),
David Holland wrote:
>
> The following reply was made to PR bin/45875; it has been noted by GNATS.
>
> From: David Holland <dholland-bugs%netbsd.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: bin/45875: usr.bin/make: make -B not using a shell for every
>  command
> Date: Thu, 26 Jan 2012 18:36:00 +0000
>
>  On Thu, Jan 26, 2012 at 06:10:00PM +0000, MarkoSchuetz%web.de@localhost 
> wrote:
>   > % ktrace -i -t acv make -B
>   > % kdump | more
>   > [..]
>   >   3834      1 make     CALL  
> execve(0x7f7fffffc7e0,0x7f7ffd8211c0,0x7f7ffd81d0c0)
>   >   3834      1 make     ARG   "cc"
>   >   3834      1 make     ARG   "-o"
>   >   3834      1 make     ARG   "hello"
>   >   3834      1 make     ARG   "hello.c"
>   > [..]
>
>  That's in a separate invocation, as advertised. What are you
>  complaining about? That it skips going through the shell for simple
>  commands?

Yes, that's what I am complaining about. It says that it executes a
"single shell per command". Also there is the target .SINGLESHELL (not
documented in the man page) that sets compatMake to true. The change I
propose would also make that work.

Best regards,

Marko

Attachment: pgpCA0sDyrWEN.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index