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
27b7ff73
Commit
27b7ff73
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: Add _ungetwch implementation.
parent
d4fab071
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
35 additions
and
13 deletions
+35
-13
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+2
-2
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+2
-2
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+2
-2
msvcr70.spec
dlls/msvcr70/msvcr70.spec
+1
-1
msvcr71.spec
dlls/msvcr71/msvcr71.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+2
-2
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+2
-2
console.c
dlls/msvcrt/console.c
+22
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcr100/msvcr100.spec
View file @
27b7ff73
...
...
@@ -1412,8 +1412,8 @@
@ cdecl _ungetch(long)
@ cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@
stub _ungetwch
@
stub _ungetwch_nolock
@
cdecl _ungetwch(long)
@
cdecl _ungetwch_nolock(long)
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock(long)
...
...
dlls/msvcr110/msvcr110.spec
View file @
27b7ff73
...
...
@@ -1770,8 +1770,8 @@
@ cdecl _ungetch(long)
@ cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@
stub _ungetwch
@
stub _ungetwch_nolock
@
cdecl _ungetwch(long)
@
cdecl _ungetwch_nolock(long)
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock(long)
...
...
dlls/msvcr120/msvcr120.spec
View file @
27b7ff73
...
...
@@ -1784,8 +1784,8 @@
@ cdecl _ungetch(long)
@ cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@
stub _ungetwch
@
stub _ungetwch_nolock
@
cdecl _ungetwch(long)
@
cdecl _ungetwch_nolock(long)
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock(long)
...
...
dlls/msvcr70/msvcr70.spec
View file @
27b7ff73
...
...
@@ -578,7 +578,7 @@
@ cdecl _ultow(long ptr long) ntdll._ultow
@ cdecl _umask(long) MSVCRT__umask
@ cdecl _ungetch(long)
@
stub _ungetwch
@
cdecl _ungetwch(long)
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock(long)
...
...
dlls/msvcr71/msvcr71.spec
View file @
27b7ff73
...
...
@@ -574,7 +574,7 @@
@ cdecl _ultow(long ptr long) ntdll._ultow
@ cdecl _umask(long) MSVCRT__umask
@ cdecl _ungetch(long)
@
stub _ungetwch
@
cdecl _ungetwch(long)
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock(long)
...
...
dlls/msvcr80/msvcr80.spec
View file @
27b7ff73
...
...
@@ -1092,8 +1092,8 @@
@ cdecl _ungetch(long)
@ cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@
stub _ungetwch
@
stub _ungetwch_nolock
@
cdecl _ungetwch(long)
@
cdecl _ungetwch_nolock(long)
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock(long)
...
...
dlls/msvcr90/msvcr90.spec
View file @
27b7ff73
...
...
@@ -1067,8 +1067,8 @@
@ cdecl _ungetch(long)
@ cdecl _ungetch_nolock(long)
@ cdecl _ungetwc_nolock(long ptr) MSVCRT__ungetwc_nolock
@
stub _ungetwch
@
stub _ungetwch_nolock
@
cdecl _ungetwch(long)
@
cdecl _ungetwch_nolock(long)
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock(long)
...
...
dlls/msvcrt/console.c
View file @
27b7ff73
...
...
@@ -439,6 +439,28 @@ int CDECL _ungetch(int c)
}
/*********************************************************************
* _ungetwch_nolock (MSVCR80.@)
*/
MSVCRT_wchar_t
CDECL
_ungetwch_nolock
(
MSVCRT_wchar_t
c
)
{
MSVCRT_wchar_t
retval
=
MSVCRT_WEOF
;
if
(
c
!=
MSVCRT_WEOF
&&
__MSVCRT_console_buffer_w
==
MSVCRT_WEOF
)
retval
=
__MSVCRT_console_buffer_w
=
c
;
return
retval
;
}
/*********************************************************************
* _ungetwch (MSVCRT.@)
*/
MSVCRT_wchar_t
CDECL
_ungetwch
(
MSVCRT_wchar_t
c
)
{
LOCK_CONSOLE
;
c
=
_ungetwch_nolock
(
c
);
UNLOCK_CONSOLE
;
return
c
;
}
/*********************************************************************
* _kbhit (MSVCRT.@)
*/
int
CDECL
_kbhit
(
void
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
27b7ff73
...
...
@@ -1025,7 +1025,7 @@
@ cdecl _umask(long) MSVCRT__umask
# stub _umask_s(long ptr)
@ cdecl _ungetch(long)
# stub
_ungetwch(long)
@ cdecl
_ungetwch(long)
@ cdecl _unlink(str) MSVCRT__unlink
@ cdecl _unloaddll(long)
@ cdecl _unlock(long)
...
...
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