From e9765ac706ce47dd7456752817864fc1062ef9b6 Mon Sep 17 00:00:00 2001 From: Richard Frith-Macdonald Date: Mon, 14 Feb 2005 15:11:43 +0000 Subject: [PATCH] Test and tweak mingw ... the process name should not have spaces escaped, only the arguments list. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20716 72102866-910b-0410-8b05-ffd578937521 --- Tools/gdomap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/gdomap.c b/Tools/gdomap.c index eb1268fbe..e725d31a2 100644 --- a/Tools/gdomap.c +++ b/Tools/gdomap.c @@ -4569,7 +4569,7 @@ printf( } a[argc] = "-f"; a[argc+1] = 0; - if (_spawnv(_P_NOWAIT, a[0], a) == -1) + if (_spawnv(_P_NOWAIT, argv[0], a) == -1) { fprintf(stderr, "gdomap - spawn '%s' failed - bye.\n", argv[0]); exit(EXIT_FAILURE);