summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvipdfmx
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-06-04 23:16:39 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-06-04 23:16:39 +0000
commitb0fb67d847b80f59d3b02a4d91812db990af700f (patch)
tree70778294498a4216cf804ad9e68875efdb012364 /Build/source/texk/xdvipdfmx
parentfb8f2c2414fb14c8c668dc280c565a65676f3e22 (diff)
left the argument intact.
git-svn-id: svn://tug.org/texlive/trunk@22778 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx')
-rw-r--r--Build/source/texk/xdvipdfmx/ChangeLog.TL4
-rw-r--r--Build/source/texk/xdvipdfmx/src/dpxfile.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/Build/source/texk/xdvipdfmx/ChangeLog.TL b/Build/source/texk/xdvipdfmx/ChangeLog.TL
index 322a45c1318..c2d7c706dd2 100644
--- a/Build/source/texk/xdvipdfmx/ChangeLog.TL
+++ b/Build/source/texk/xdvipdfmx/ChangeLog.TL
@@ -1,6 +1,10 @@
ChangeLog.TL: TeX Live (TL) changes for xdvipdfmx
=================================================
+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/xdvipdfmx/src/dpxfile.c b/Build/source/texk/xdvipdfmx/src/dpxfile.c
index 3f718ba1d31..a17a6d1a52f 100644
--- a/Build/source/texk/xdvipdfmx/src/dpxfile.c
+++ b/Build/source/texk/xdvipdfmx/src/dpxfile.c
@@ -161,9 +161,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;