diff options
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); */ |