diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-06-06 07:53:07 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-06-06 07:53:07 +0000 |
commit | a2caf38d3231a9eff6d421844560f39b2c9ac0b2 (patch) | |
tree | 272a4902c6b175cfdece5b9b1d17a73031417b47 /Build/source/texk/dvipdfmx | |
parent | 876dd2f5ee0d80673ee9bdc5c29b914ec13337bc (diff) |
(x)dvipdfmx (exec_spawn): Do not quote execvp() arguments
git-svn-id: svn://tug.org/texlive/trunk@22815 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx')
-rw-r--r-- | Build/source/texk/dvipdfmx/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/Build/source/texk/dvipdfmx/ChangeLog b/Build/source/texk/dvipdfmx/ChangeLog index 72070a25acd..3092a4de721 100644 --- a/Build/source/texk/dvipdfmx/ChangeLog +++ b/Build/source/texk/dvipdfmx/ChangeLog @@ -1,3 +1,7 @@ +2011-06-06 Peter Breitenlohner <peb@mppmu.mpg.de> + + * dpxfile.c (exec_spawn): Do not quote execvp() arguments. + 2011-06-03 Peter Breitenlohner <peb@mppmu.mpg.de> * dpxfile.c (exec_spawn): Exit if execvp() fails, some clean up. diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c b/Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c index dbbf077989c..a13058708a6 100644 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c @@ -210,15 +210,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); */ |