summaryrefslogtreecommitdiff
path: root/Build/source/utils/vlna/vlna-1.5
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-09 13:15:08 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-09 13:15:08 +0000
commitb98940bc6a3d63959c1e0c07acf5c09626bf9efa (patch)
tree28434ce6dab2b782f13999811d7d8274bc1284f9 /Build/source/utils/vlna/vlna-1.5
parent364ebe8a6594821008a8a42c86b81915e026bc31 (diff)
vlna: Use binary mode for output files (from W32TeX)
git-svn-id: svn://tug.org/texlive/trunk@26977 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/vlna/vlna-1.5')
-rw-r--r--Build/source/utils/vlna/vlna-1.5/vlna.w4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/vlna/vlna-1.5/vlna.w b/Build/source/utils/vlna/vlna-1.5/vlna.w
index 08a7588ecc6..8062a128b50 100644
--- a/Build/source/utils/vlna/vlna-1.5/vlna.w
+++ b/Build/source/utils/vlna/vlna-1.5/vlna.w
@@ -226,7 +226,7 @@ příkazové řádce:
infile = stdin; outfile = stdout;
if (argc >= 2) infile = fopen (argv[1], "r");
if (infile == NULL) ioerr (argv[1]), exit (IO_ERR);
- if (argc == 3) outfile = fopen(argv[2], "w");
+ if (argc == 3) outfile = fopen(argv[2], "wb");
if (outfile == NULL) ioerr (argv[2]), exit (IO_ERR);
if (argc >= 2) filename = argv[1];
else filename = NULL;
@@ -252,7 +252,7 @@ program se ukončí s~chybou.
if (infile == NULL) {
ioerr (argv[0]); continue;
}
- outfile = fopen (argv[0], "w");
+ outfile = fopen (argv[0], "wb");
if (outfile == NULL) {
ioerr (argv[0]);
rename (backup, argv[0]);