diff options
Diffstat (limited to 'Build/source/utils/vlna/vlna-1.5/vlna.w')
-rw-r--r-- | Build/source/utils/vlna/vlna-1.5/vlna.w | 4 |
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]); |