diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2011-06-04 23:16:39 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2011-06-04 23:16:39 +0000 |
commit | b0fb67d847b80f59d3b02a4d91812db990af700f (patch) | |
tree | 70778294498a4216cf804ad9e68875efdb012364 /Build/source/texk/xdvipdfmx/src/dpxfile.c | |
parent | fb8f2c2414fb14c8c668dc280c565a65676f3e22 (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/src/dpxfile.c')
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/dpxfile.c | 7 |
1 files changed, 4 insertions, 3 deletions
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; |