summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/dvipdfmx/ChangeLog4
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfmx/ChangeLog b/Build/source/texk/dvipdfmx/ChangeLog
index 72070a25acd..600e43ec04c 100644
--- a/Build/source/texk/dvipdfmx/ChangeLog
+++ b/Build/source/texk/dvipdfmx/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * dpxfile.c (exec_spawn): Left the argument intact.
+
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..47c3c9d3225 100644
--- a/Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c
+++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c
@@ -159,9 +159,10 @@ static int exec_spawn (char *cmd)
if (!cmd)
return -1;
- while (*cmd == ' ' || *cmd == '\t')
- cmd++;
- if (*cmd == '\0')
+ p = cmd;
+ while (*p == ' ' || *p == '\t')
+ p++;
+ if (*p == '\0')
return -1;
i = 0;
p = cmd;