From a2caf38d3231a9eff6d421844560f39b2c9ac0b2 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Mon, 6 Jun 2011 07:53:07 +0000 Subject: (x)dvipdfmx (exec_spawn): Do not quote execvp() arguments git-svn-id: svn://tug.org/texlive/trunk@22815 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/xdvipdfmx/src/dpxfile.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Build/source/texk/xdvipdfmx/src/dpxfile.c') diff --git a/Build/source/texk/xdvipdfmx/src/dpxfile.c b/Build/source/texk/xdvipdfmx/src/dpxfile.c index 3f718ba1d31..a171483e8b1 100644 --- a/Build/source/texk/xdvipdfmx/src/dpxfile.c +++ b/Build/source/texk/xdvipdfmx/src/dpxfile.c @@ -212,15 +212,12 @@ static int exec_spawn (char *cmd) } } *pp = '\0'; - if (strchr (buf, ' ') || strchr (buf, '\t')) { #ifdef WIN32 + if (strchr (buf, ' ') || strchr (buf, '\t')) *qv = concat3 ("\"", buf, "\""); -#else - *qv = concat3 ("'", buf, "'"); + else #endif - } else { *qv = xstrdup (buf); - } /* fprintf(stderr,"\n%s", *qv); */ -- cgit v1.2.3