Re: [PATCH] Fix bug in recipe line count overflow checking

2022-10-18 Thread Paul Smith
On Sun, 2022-10-09 at 17:17 -0700, Paul Eggert wrote: > Without this patch, the shell command: > awk 'BEGIN { >    print "x:" >    for (i = 0; i < 65536; i++) > printf "\techo %d\n", i} >     ' | make -f - > incorrectly outputs only "make: 'x' is up to date." I applied a

[PATCH] Fix bug in recipe line count overflow checking

2022-10-09 Thread Paul Eggert
Without this patch, the shell command: awk 'BEGIN { print "x:" for (i = 0; i < 65536; i++) printf "\techo %d\n", i} ' | make -f - incorrectly outputs only "make: 'x' is up to date." * src/commands.c (chop_commands): Report overflow in recipe line count when it occurs, as