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:
parent
b336a084d6
commit
4c391c1454
|
@ -24,6 +24,8 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <io.h>
|
||||||
|
|
||||||
#include "wine/debug.h"
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
@ -140,6 +142,8 @@ int __cdecl wmain(int argc, WCHAR *argv[])
|
||||||
int i;
|
int i;
|
||||||
int separator;
|
int separator;
|
||||||
|
|
||||||
|
setmode( fileno(stdout), O_BINARY ); /* avoid crlf */
|
||||||
|
|
||||||
outputformats = parse_options(argv);
|
outputformats = parse_options(argv);
|
||||||
|
|
||||||
if (outputformats & PRINT0)
|
if (outputformats & PRINT0)
|
||||||
|
|
Loading…
Reference in New Issue