Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9ed74037
Commit
9ed74037
authored
Jun 14, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 15, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix return value of _cputs.
parent
eb9e0085
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
console.c
dlls/msvcrt/console.c
+6
-3
No files found.
dlls/msvcrt/console.c
View file @
9ed74037
...
...
@@ -69,11 +69,14 @@ void msvcrt_free_console(void)
int
CDECL
_cputs
(
const
char
*
str
)
{
DWORD
count
;
int
retval
=
MSVCRT_EOF
;
int
len
,
retval
=
-
1
;
if
(
!
MSVCRT_CHECK_PMT
(
str
!=
NULL
))
return
-
1
;
len
=
strlen
(
str
);
LOCK_CONSOLE
;
if
(
WriteConsoleA
(
MSVCRT_console_out
,
str
,
strlen
(
str
)
,
&
count
,
NULL
)
&&
count
==
1
)
if
(
WriteConsoleA
(
MSVCRT_console_out
,
str
,
len
,
&
count
,
NULL
)
&&
count
==
len
)
retval
=
0
;
UNLOCK_CONSOLE
;
return
retval
;
...
...
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