simple c99 compiler
git clone git://
Log | Files | Refs | Submodules | README | LICENSE

commit e2c7cc44bf41420d422849b52acdd35158630d8a
parent 7a5a58bec720c990d2d960a9c9a16ecb7e44447b
Author: Roberto E. Vargas Caballero <>
Date:   Thu, 18 Jan 2024 15:49:17 +0100

make: Add missing return in assign()

Assign() resturns an error code that is used to increment
conditionally the current argument parsed and lacking the
return make that randomly some times the argument count
was not increased when macro assignments were present in
the command line.

Msrc/cmd/make/main.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/cmd/make/main.c b/src/cmd/make/main.c @@ -230,6 +230,7 @@ assign(char *s, int export) setmacro(t, t+pos+1, export); free(t); + return 1; } static void