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
70d1136c
Commit
70d1136c
authored
Jul 28, 2003
by
André Johansen
Committed by
Alexandre Julliard
Jul 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a dummy implementation of the _set_error_mode() function.
parent
a9460b3d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
errno.c
dlls/msvcrt/errno.c
+29
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcrt/errno.c
View file @
70d1136c
...
...
@@ -135,3 +135,32 @@ void MSVCRT_perror(const char* str)
{
_cprintf
(
"%s: %s
\n
"
,
str
,
MSVCRT_strerror
(
msvcrt_get_thread_data
()
->
errno
));
}
/******************************************************************************
* _set_error_mode (MSVCRT.@)
*
* Set the error mode, which describes where the C run-time writes error
* messages.
*
* PARAMS
* mode - the new error mode
*
* RETURNS
* The old error mode.
*
* TODO
* This function does not have a proper implementation; the error mode is
* never used.
*/
int
_set_error_mode
(
int
mode
)
{
static
int
current_mode
=
_OUT_TO_DEFAULT
;
const
int
old
=
current_mode
;
if
(
_REPORT_ERRMODE
!=
mode
)
{
current_mode
=
mode
;
FIXME
(
"dummy implementation (old mode: %d, new mode: %d)
\n
"
,
old
,
mode
);
}
return
old
;
}
dlls/msvcrt/msvcrt.spec
View file @
70d1136c
...
...
@@ -423,7 +423,7 @@
@ cdecl _scalb( double long)
@ cdecl _searchenv(str str ptr)
@ stdcall -i386 _seh_longjmp_unwind(ptr)
@ st
ub _set_error_mode #
(long)
@ st
dcall _set_error_mode
(long)
@ stub _set_sbh_threshold #(long)
@ stub _seterrormode #(long)
@ cdecl -register -i386 _setjmp(ptr) _MSVCRT__setjmp
...
...
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