summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5d86501)
raw | patch | inline | side by side (parent: 5d86501)
author | Junio C Hamano <junkio@cox.net> | |
Mon, 19 Mar 2007 09:48:37 +0000 (02:48 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 19 Mar 2007 09:48:37 +0000 (02:48 -0700) |
An earlier conversion to run_command() from execlp() forgot that
run_command() takes an array that is terminated with NULL.
Signed-off-by: Junio C Hamano <junkio@cox.net>
run_command() takes an array that is terminated with NULL.
Signed-off-by: Junio C Hamano <junkio@cox.net>
merge-index.c | patch | blob | history |
diff --git a/merge-index.c b/merge-index.c
index 6df43944b08fc7789eec2314353bd1f892afbf0b..5599fd321bb4c09c1c0ce4fc62dfb9ecf5531c2b 100644 (file)
--- a/merge-index.c
+++ b/merge-index.c
#include "run-command.h"
static const char *pgm;
-static const char *arguments[8];
+static const char *arguments[9];
static int one_shot, quiet;
static int err;
arguments[5] = "";
arguments[6] = "";
arguments[7] = "";
+ arguments[8] = NULL;
found = 0;
do {
static char hexbuf[4][60];