summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-06-05 14:48:50 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-06-05 14:48:50 +0000
commit845d292c9234e27df28cae0d650d83b22d935a1f (patch)
tree0e4202dea92fd2eb08cd83063dc447fd9cfcf50b /Build/source
parentd71f55169a502090c81aa874fe65bd2b64ff0b48 (diff)
revert
git-svn-id: svn://tug.org/texlive/trunk@22790 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/xdvipdfmx/ChangeLog.TL4
-rw-r--r--Build/source/texk/xdvipdfmx/src/dpxfile.c7
2 files changed, 3 insertions, 8 deletions
diff --git a/Build/source/texk/xdvipdfmx/ChangeLog.TL b/Build/source/texk/xdvipdfmx/ChangeLog.TL
index c2d7c706dd2..322a45c1318 100644
--- a/Build/source/texk/xdvipdfmx/ChangeLog.TL
+++ b/Build/source/texk/xdvipdfmx/ChangeLog.TL
@@ -1,10 +1,6 @@
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 a17a6d1a52f..3f718ba1d31 100644
--- a/Build/source/texk/xdvipdfmx/src/dpxfile.c
+++ b/Build/source/texk/xdvipdfmx/src/dpxfile.c
@@ -161,10 +161,9 @@ static int exec_spawn (char *cmd)
if (!cmd)
return -1;
- p = cmd;
- while (*p == ' ' || *p == '\t')
- p++;
- if (*p == '\0')
+ while (*cmd == ' ' || *cmd == '\t')
+ cmd++;
+ if (*cmd == '\0')
return -1;
i = 0;
p = cmd;