summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorTakuji Tanaka <KXD02663@nifty.ne.jp>2013-12-06 18:08:02 +0000
committerTakuji Tanaka <KXD02663@nifty.ne.jp>2013-12-06 18:08:02 +0000
commit7f304fc721af7e006a9209f30840ad96bfab1e9f (patch)
treeb9ba4cb23e78f84c1955bad3341eb19adac1ccfc /Build/source/texk
parented9004a4ad06f292cd27d9a0bdb54be301691279 (diff)
set _wpopen binary mode (Windows only)
git-svn-id: svn://tug.org/texlive/trunk@32340 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/xetexdir/XeTeX_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
index ae01211814a..60859b7ab12 100644
--- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
+++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c
@@ -2750,7 +2750,7 @@ open_dvi_output(FILE** fptr)
*p = '\0';
fullcmd = concatn("\"\"", bindir, "\\", prgnam, "\"", pp, "\"", NULL);
tmp1w = get_wstring_from_mbstring(CP_UTF8, (const char *)fullcmd, tmp1w=NULL);
- *fptr = _wpopen(tmp1w, L"w");
+ *fptr = _wpopen(tmp1w, L"wb");
free(bindir);
free(prgnam);
free(fullcmd);