summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx/dvipdfmx-20110311
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-06-04 23:22:47 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2011-06-04 23:22:47 +0000
commit36cb27d68368a5a1cfdaf6822244b0c8b058ad82 (patch)
tree44177c297fa0a35d7133512f8d170f2e8594cf12 /Build/source/texk/dvipdfmx/dvipdfmx-20110311
parentb0fb67d847b80f59d3b02a4d91812db990af700f (diff)
left the argument intact
git-svn-id: svn://tug.org/texlive/trunk@22779 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx/dvipdfmx-20110311')
-rw-r--r--Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c7
1 files changed, 4 insertions, 3 deletions
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;