diff options
-rw-r--r-- | Build/source/texk/xdvipdfmx/ChangeLog.TL | 4 | ||||
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/dpxfile.c | 7 |
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; |