winepath: Avoid CR characters in output.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48937
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-04-15 22:04:38 +02:00
parent b336a084d6
commit 4c391c1454
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,8 @@
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <io.h>
#include "wine/debug.h"
@ -140,6 +142,8 @@ int __cdecl wmain(int argc, WCHAR *argv[])
int i;
int separator;
setmode( fileno(stdout), O_BINARY ); /* avoid crlf */
outputformats = parse_options(argv);
if (outputformats & PRINT0)