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
eb9e0085
Commit
eb9e0085
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: Write directly to the console in _putwch.
parent
6827724e
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
35 additions
and
21 deletions
+35
-21
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
file.c
dlls/msvcrt/file.c
+0
-8
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcr100/msvcr100.spec
View file @
eb9e0085
...
@@ -1239,8 +1239,8 @@
...
@@ -1239,8 +1239,8 @@
@ cdecl _putenv_s(str str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwch(long)
MSVCRT__putwch
@ cdecl _putwch(long)
@
stub _putwch_nolock
@
cdecl _putwch_nolock(long)
@ cdecl _putws(wstr) MSVCRT__putws
@ cdecl _putws(wstr) MSVCRT__putws
# extern _pwctype
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
@ cdecl _read(long ptr long) MSVCRT__read
...
...
dlls/msvcr110/msvcr110.spec
View file @
eb9e0085
...
@@ -1597,8 +1597,8 @@
...
@@ -1597,8 +1597,8 @@
@ cdecl _putenv_s(str str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwch(long)
MSVCRT__putwch
@ cdecl _putwch(long)
@
stub _putwch_nolock
@
cdecl _putwch_nolock(long)
@ cdecl _putws(wstr) MSVCRT__putws
@ cdecl _putws(wstr) MSVCRT__putws
# extern _pwctype
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
@ cdecl _read(long ptr long) MSVCRT__read
...
...
dlls/msvcr120/msvcr120.spec
View file @
eb9e0085
...
@@ -1605,8 +1605,8 @@
...
@@ -1605,8 +1605,8 @@
@ cdecl _putenv_s(str str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwch(long)
MSVCRT__putwch
@ cdecl _putwch(long)
@
stub _putwch_nolock
@
cdecl _putwch_nolock(long)
@ cdecl _putws(wstr) MSVCRT__putws
@ cdecl _putws(wstr) MSVCRT__putws
# extern _pwctype
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
@ cdecl _read(long ptr long) MSVCRT__read
...
...
dlls/msvcr70/msvcr70.spec
View file @
eb9e0085
...
@@ -495,7 +495,7 @@
...
@@ -495,7 +495,7 @@
@ cdecl _putch(long)
@ cdecl _putch(long)
@ cdecl _putenv(str)
@ cdecl _putenv(str)
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putwch(long)
MSVCRT__putwch
@ cdecl _putwch(long)
@ cdecl _putws(wstr) MSVCRT__putws
@ cdecl _putws(wstr) MSVCRT__putws
# extern _pwctype
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
@ cdecl _read(long ptr long) MSVCRT__read
...
...
dlls/msvcr71/msvcr71.spec
View file @
eb9e0085
...
@@ -490,7 +490,7 @@
...
@@ -490,7 +490,7 @@
@ cdecl _putch(long)
@ cdecl _putch(long)
@ cdecl _putenv(str)
@ cdecl _putenv(str)
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putwch(long)
MSVCRT__putwch
@ cdecl _putwch(long)
@ cdecl _putws(wstr) MSVCRT__putws
@ cdecl _putws(wstr) MSVCRT__putws
# extern _pwctype
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
@ cdecl _read(long ptr long) MSVCRT__read
...
...
dlls/msvcr80/msvcr80.spec
View file @
eb9e0085
...
@@ -914,8 +914,8 @@
...
@@ -914,8 +914,8 @@
@ cdecl _putenv_s(str str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwch(long)
MSVCRT__putwch
@ cdecl _putwch(long)
@
stub _putwch_nolock
@
cdecl _putwch_nolock(long)
@ cdecl _putws(wstr) MSVCRT__putws
@ cdecl _putws(wstr) MSVCRT__putws
# extern _pwctype
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
@ cdecl _read(long ptr long) MSVCRT__read
...
...
dlls/msvcr90/msvcr90.spec
View file @
eb9e0085
...
@@ -889,8 +889,8 @@
...
@@ -889,8 +889,8 @@
@ cdecl _putenv_s(str str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwc_nolock(long ptr) MSVCRT__fputwc_nolock
@ cdecl _putwch(long)
MSVCRT__putwch
@ cdecl _putwch(long)
@
stub _putwch_nolock
@
cdecl _putwch_nolock(long)
@ cdecl _putws(wstr) MSVCRT__putws
@ cdecl _putws(wstr) MSVCRT__putws
# extern _pwctype
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
@ cdecl _read(long ptr long) MSVCRT__read
...
...
dlls/msvcrt/console.c
View file @
eb9e0085
...
@@ -218,6 +218,28 @@ int CDECL _putch(int c)
...
@@ -218,6 +218,28 @@ int CDECL _putch(int c)
}
}
/*********************************************************************
/*********************************************************************
* _putwch_nolock (MSVCR80.@)
*/
MSVCRT_wchar_t
CDECL
_putwch_nolock
(
MSVCRT_wchar_t
c
)
{
DWORD
count
;
if
(
WriteConsoleW
(
MSVCRT_console_out
,
&
c
,
1
,
&
count
,
NULL
)
&&
count
==
1
)
return
c
;
return
MSVCRT_WEOF
;
}
/*********************************************************************
* _putwch (MSVCRT.@)
*/
MSVCRT_wchar_t
CDECL
_putwch
(
MSVCRT_wchar_t
c
)
{
LOCK_CONSOLE
;
c
=
_putwch_nolock
(
c
);
UNLOCK_CONSOLE
;
return
c
;
}
/*********************************************************************
* _getche_nolock (MSVCR80.@)
* _getche_nolock (MSVCR80.@)
*/
*/
int
CDECL
_getche_nolock
(
void
)
int
CDECL
_getche_nolock
(
void
)
...
...
dlls/msvcrt/file.c
View file @
eb9e0085
...
@@ -4631,14 +4631,6 @@ int CDECL MSVCRT_putchar(int c)
...
@@ -4631,14 +4631,6 @@ int CDECL MSVCRT_putchar(int c)
}
}
/*********************************************************************
/*********************************************************************
* _putwch (MSVCRT.@)
*/
int
CDECL
MSVCRT__putwch
(
int
c
)
{
return
MSVCRT_fputwc
(
c
,
MSVCRT_stdout
);
}
/*********************************************************************
* puts (MSVCRT.@)
* puts (MSVCRT.@)
*/
*/
int
CDECL
MSVCRT_puts
(
const
char
*
s
)
int
CDECL
MSVCRT_puts
(
const
char
*
s
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
eb9e0085
...
@@ -861,7 +861,7 @@
...
@@ -861,7 +861,7 @@
@ cdecl _putenv(str)
@ cdecl _putenv(str)
@ cdecl _putenv_s(str str)
@ cdecl _putenv_s(str str)
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putw(long ptr) MSVCRT__putw
@ cdecl _putwch(long)
MSVCRT__putwch
@ cdecl _putwch(long)
@ cdecl _putws(wstr) MSVCRT__putws
@ cdecl _putws(wstr) MSVCRT__putws
# extern _pwctype
# extern _pwctype
@ cdecl _read(long ptr long) MSVCRT__read
@ cdecl _read(long ptr long) MSVCRT__read
...
...
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