From 51b7dfc891504bbec7d7682fa15858ef0c5b4f4e Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 19 Apr 2016 20:17:53 -0400 Subject: slbt_exec_link_adjust_argument_vector: depsmeta->args: this is the null terminator! --- src/logic/slbt_exec_link.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/logic/slbt_exec_link.c b/src/logic/slbt_exec_link.c index fc6eab9..6f1e4a1 100644 --- a/src/logic/slbt_exec_link.c +++ b/src/logic/slbt_exec_link.c @@ -324,7 +324,8 @@ static int slbt_exec_link_adjust_argument_vector( while (fscanf(fdeps,"%s\n",darg) == 1) { *aarg++ = darg; - darg += strlen(darg) + sizeof('\0'); + darg += strlen(darg); + darg++; } if (ferror(fdeps)) { -- cgit v1.2.3