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
853d4343
Commit
853d4343
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 _ungetch_nolock implementation.
parent
57754bdb
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
9 deletions
+18
-9
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
-4
No files found.
dlls/msvcr100/msvcr100.spec
View file @
853d4343
...
...
@@ -1410,7 +1410,7 @@
@ stub _umask_s
@ cdecl _ungetc_nolock(long ptr) MSVCRT__ungetc_nolock
@ cdecl _ungetch(long)
@
stub _ungetch_nolock
@
cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@ stub _ungetwch
@ stub _ungetwch_nolock
...
...
dlls/msvcr110/msvcr110.spec
View file @
853d4343
...
...
@@ -1768,7 +1768,7 @@
@ stub _umask_s
@ cdecl _ungetc_nolock(long ptr) MSVCRT__ungetc_nolock
@ cdecl _ungetch(long)
@
stub _ungetch_nolock
@
cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@ stub _ungetwch
@ stub _ungetwch_nolock
...
...
dlls/msvcr120/msvcr120.spec
View file @
853d4343
...
...
@@ -1782,7 +1782,7 @@
@ stub _umask_s
@ cdecl _ungetc_nolock(long ptr) MSVCRT__ungetc_nolock
@ cdecl _ungetch(long)
@
stub _ungetch_nolock
@
cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@ stub _ungetwch
@ stub _ungetwch_nolock
...
...
dlls/msvcr80/msvcr80.spec
View file @
853d4343
...
...
@@ -1090,7 +1090,7 @@
@ stub _umask_s
@ cdecl _ungetc_nolock(long ptr) MSVCRT__ungetc_nolock
@ cdecl _ungetch(long)
@
stub _ungetch_nolock
@
cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@ stub _ungetwch
@ stub _ungetwch_nolock
...
...
dlls/msvcr90/msvcr90.spec
View file @
853d4343
...
...
@@ -1065,7 +1065,7 @@
@ stub _umask_s
@ cdecl _ungetc_nolock(long ptr) MSVCRT__ungetc_nolock
@ cdecl _ungetch(long)
@
stub _ungetch_nolock
@
cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@ stub _ungetwch
@ stub _ungetwch_nolock
...
...
dlls/msvcrt/console.c
View file @
853d4343
...
...
@@ -280,19 +280,28 @@ char* CDECL _cgets(char* str)
}
/*********************************************************************
* _ungetch (MSVCRT.@)
* _ungetch
_nolock
(MSVCRT.@)
*/
int
CDECL
_ungetch
(
int
c
)
int
CDECL
_ungetch
_nolock
(
int
c
)
{
int
retval
=
MSVCRT_EOF
;
LOCK_CONSOLE
;
if
(
c
!=
MSVCRT_EOF
&&
__MSVCRT_console_buffer
==
MSVCRT_EOF
)
retval
=
__MSVCRT_console_buffer
=
c
;
UNLOCK_CONSOLE
;
return
retval
;
}
/*********************************************************************
* _ungetch (MSVCRT.@)
*/
int
CDECL
_ungetch
(
int
c
)
{
LOCK_CONSOLE
;
c
=
_ungetch_nolock
(
c
);
UNLOCK_CONSOLE
;
return
c
;
}
/*********************************************************************
* _kbhit (MSVCRT.@)
*/
int
CDECL
_kbhit
(
void
)
...
...
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