summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/luascripts/txt2zlib.w
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luascripts/txt2zlib.w')
-rw-r--r--Build/source/texk/web2c/luatexdir/luascripts/txt2zlib.w2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luascripts/txt2zlib.w b/Build/source/texk/web2c/luatexdir/luascripts/txt2zlib.w
index ccf5d56cb88..f69d835673f 100644
--- a/Build/source/texk/web2c/luatexdir/luascripts/txt2zlib.w
+++ b/Build/source/texk/web2c/luatexdir/luascripts/txt2zlib.w
@@ -72,7 +72,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "%s: can't open %s for reading.\n", argv[0], argv[1]);
exit(EXIT_FAILURE);
}
- fout = fopen(argv[2], "w");
+ fout = fopen(argv[2], "wb");
if (fout == NULL) {
fprintf(stderr, "%s: can't open %s for writing.\n", argv[0], argv[2]);
exit(EXIT_FAILURE);