Commit 4c391c14 authored by Alexandre Julliard's avatar Alexandre Julliard

winepath: Avoid CR characters in output.

parent b336a084
...@@ -24,6 +24,8 @@ ...@@ -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[]) ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment