summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-03-22 13:53:00 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-03-22 13:53:00 +0000
commit232771c94b69f26174a60ff0653db8e1d991dce5 (patch)
tree150bf79a509db42147d5ad277b9f814c5282d36c /Build/source
parent390a14d57119ce5b56155f48201ed35ad3a0dac1 (diff)
xetexdir/XeTeX_ext.c: The SELFAUTOLOC issue has been considered independently on W32.
git-svn-id: svn://tug.org/texlive/trunk@36590 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/xetexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog
index a932d16d609..7f340a9a8b8 100644
--- a/Build/source/texk/web2c/xetexdir/ChangeLog
+++ b/Build/source/texk/web2c/xetexdir/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * XeTeX_ext.c: The SELFAUTOLOC issue has been considered on W32
+ independently.
+
2015-03-17 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* xetex-bug73.test: The equivalent of 'tail -n+2' is 'sed 1d'.
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index 2aa3bc2a714..accf098119c 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -2579,10 +2579,12 @@ open_dvi_output(FILE** fptr)
if (*p++ == '\"')
++len;
len += strlen(outputdriver);
+#ifndef WIN32
if (!kpse_absolute_p(outputdriver, true))
bindir = kpse_var_value("SELFAUTOLOC");
if (bindir)
len += strlen(bindir) + 1;
+#endif
if (output_directory)
len += strlen(output_directory);
len += 10; /* space for -o flag, quotes, NUL */
@@ -2590,6 +2592,9 @@ open_dvi_output(FILE** fptr)
if (*p == '\"')
++len; /* allow extra space to escape quotes in filename */
cmd = xmalloc(len);
+#ifdef WIN32
+ strcpy(cmd, outputdriver);
+#else
if (bindir) {
strcpy(cmd, bindir);
strcat(cmd, "/");
@@ -2597,6 +2602,7 @@ open_dvi_output(FILE** fptr)
} else {
strcpy(cmd, outputdriver);
}
+#endif
strcat(cmd, " -o \"");
if (output_directory) {
len = strlen(output_directory);