Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4c391c14
Commit
4c391c14
authored
Apr 15, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
b336a084
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
winepath.c
programs/winepath/winepath.c
+4
-0
No files found.
programs/winepath/winepath.c
View file @
4c391c14
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment