On Tue, Aug 26, 2025 at 07:21:02PM +0200, наб wrote:
> Package: cproto
> Version: 4.7x-1
> Severity: normal
> Tags: upstream
>
> Dear Maintainer,
>
> cproto -E '/bin/cpp' -D'ARGS_DECL(...)=__VA_ARGS__' -{P,F,C}"int f(a, b)"
> exec.c
> /* exec.c */
> sh: 1: Syntax error: "(" unexpected
> and a strace reveals
> 3076044 execve("/bin/sh", ["sh", "-c", "/bin/cpp
> -DARGS_DECL(...)=__VA_A"...], 0x7fff30971dc0 /* 32 vars */ <unfinished ...>
> this seems obviously wrong, considering that -D is described as
> This option is passed through to the preprocessoractually it's what you get with popen. The updated manpage says it uses a pipe. -- Thomas E. Dickey <[email protected]> https://invisible-island.net
signature.asc
Description: PGP signature

