From 13eba58c8a9f4f0781bf1d5f6f3b2fd078d45970 Mon Sep 17 00:00:00 2001 From: Akira Kakuto Date: Sun, 5 Jun 2011 14:52:14 +0000 Subject: revert git-svn-id: svn://tug.org/texlive/trunk@22791 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipdfmx/ChangeLog | 4 ---- Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c | 7 +++---- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/dvipdfmx/ChangeLog b/Build/source/texk/dvipdfmx/ChangeLog index 600e43ec04c..72070a25acd 100644 --- a/Build/source/texk/dvipdfmx/ChangeLog +++ b/Build/source/texk/dvipdfmx/ChangeLog @@ -1,7 +1,3 @@ -2011-06-05 Akira Kakuto - - * dpxfile.c (exec_spawn): Left the argument intact. - 2011-06-03 Peter Breitenlohner * 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 47c3c9d3225..dbbf077989c 100644 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110311/src/dpxfile.c @@ -159,10 +159,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; -- cgit v1.2.3