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
0a600ccd
Commit
0a600ccd
authored
Jun 11, 2015
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 12, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr: Add _putch_nolock implementation.
parent
3bd60974
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
10 deletions
+18
-10
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
console.c
dlls/msvcrt/console.c
+13
-5
No files found.
dlls/msvcr100/msvcr100.spec
View file @
0a600ccd
...
...
@@ -1234,7 +1234,7 @@
@ cdecl _purecall()
@ cdecl _putc_nolock(long ptr) MSVCRT__fputc_nolock
@ cdecl _putch(long)
@
stub _putch_nolock
@
cdecl _putch_nolock(long)
@ cdecl _putenv(str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
...
...
dlls/msvcr110/msvcr110.spec
View file @
0a600ccd
...
...
@@ -1592,7 +1592,7 @@
@ cdecl _purecall()
@ cdecl _putc_nolock(long ptr) MSVCRT__fputc_nolock
@ cdecl _putch(long)
@
stub _putch_nolock
@
cdecl _putch_nolock(long)
@ cdecl _putenv(str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
...
...
dlls/msvcr120/msvcr120.spec
View file @
0a600ccd
...
...
@@ -1600,7 +1600,7 @@
@ cdecl _purecall()
@ cdecl _putc_nolock(long ptr) MSVCRT__fputc_nolock
@ cdecl _putch(long)
@
stub _putch_nolock
@
cdecl _putch_nolock(long)
@ cdecl _putenv(str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
...
...
dlls/msvcr80/msvcr80.spec
View file @
0a600ccd
...
...
@@ -909,7 +909,7 @@
@ cdecl _purecall()
@ cdecl _putc_nolock(long ptr) MSVCRT__fputc_nolock
@ cdecl _putch(long)
@
stub _putch_nolock
@
cdecl _putch_nolock(long)
@ cdecl _putenv(str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
...
...
dlls/msvcr90/msvcr90.spec
View file @
0a600ccd
...
...
@@ -884,7 +884,7 @@
@ cdecl _purecall()
@ cdecl _putc_nolock(long ptr) MSVCRT__fputc_nolock
@ cdecl _putch(long)
@
stub _putch_nolock
@
cdecl _putch_nolock(long)
@ cdecl _putenv(str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
...
...
dlls/msvcrt/console.c
View file @
0a600ccd
...
...
@@ -195,17 +195,25 @@ int CDECL _getch(void)
}
/*********************************************************************
* _putch_nolock (MSVCR80.@)
*/
int
CDECL
_putch_nolock
(
int
c
)
{
DWORD
count
;
if
(
WriteConsoleA
(
MSVCRT_console_out
,
&
c
,
1
,
&
count
,
NULL
)
&&
count
==
1
)
return
c
;
return
MSVCRT_EOF
;
}
/*********************************************************************
* _putch (MSVCRT.@)
*/
int
CDECL
_putch
(
int
c
)
{
int
retval
=
MSVCRT_EOF
;
DWORD
count
;
LOCK_CONSOLE
;
if
(
WriteConsoleA
(
MSVCRT_console_out
,
&
c
,
1
,
&
count
,
NULL
)
&&
count
==
1
)
retval
=
c
;
c
=
_putch_nolock
(
c
);
UNLOCK_CONSOLE
;
return
retval
;
return
c
;
}
/*********************************************************************
...
...
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