summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-03-28 07:50:37 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2013-03-28 07:50:37 +0000
commita993aea688e656c6b264049b2092443869c56653 (patch)
treee53fd9ce65dfb9b5c871be748c2cf61a70ab91fa /Build/source/texk
parent6c4f3e6bfa3bec1ecfc5c8ee5c9d73fc9cea8906 (diff)
Sync dvipdfmx and xdvipdfmx.
git-svn-id: svn://tug.org/texlive/trunk@29539 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/dvipdfmx/src/dpxfile.c4
-rw-r--r--Build/source/texk/xdvipdfmx/src/dpxfile.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/Build/source/texk/dvipdfmx/src/dpxfile.c b/Build/source/texk/dvipdfmx/src/dpxfile.c
index 0ce27b6ce02..7444632803a 100644
--- a/Build/source/texk/dvipdfmx/src/dpxfile.c
+++ b/Build/source/texk/dvipdfmx/src/dpxfile.c
@@ -756,7 +756,7 @@ dpx_get_tmpdir (void)
# include <stdlib.h>
#endif
-#if 0 /* Not used */
+#ifdef XETEX
char *
dpx_create_temp_file (void)
{
@@ -812,7 +812,7 @@ dpx_create_temp_file (void)
return tmp;
}
-#endif /* 0 */
+#endif /* XETEX */
char *
dpx_create_fix_temp_file (const char *filename)
diff --git a/Build/source/texk/xdvipdfmx/src/dpxfile.c b/Build/source/texk/xdvipdfmx/src/dpxfile.c
index d51b978ce27..80998652a11 100644
--- a/Build/source/texk/xdvipdfmx/src/dpxfile.c
+++ b/Build/source/texk/xdvipdfmx/src/dpxfile.c
@@ -813,7 +813,6 @@ dpx_create_temp_file (void)
#else /* use _tempnam or tmpnam */
{
# ifdef WIN32
-# define __TMPDIR "."
const char *_tmpd;
char *p;
_tmpd = dpx_get_tmpdir();