summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
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);