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
f415b5dd
Commit
f415b5dd
authored
Feb 08, 2007
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use raise(SIGABRT) for abort() and assert().
parent
bb5a20c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
exit.c
dlls/msvcrt/exit.c
+4
-0
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-0
No files found.
dlls/msvcrt/exit.c
View file @
f415b5dd
...
...
@@ -155,6 +155,8 @@ void CDECL MSVCRT_abort(void)
}
else
_cputs
(
"
\n
abnormal program termination
\n
"
);
MSVCRT_raise
(
MSVCRT_SIGABRT
);
/* in case raise() returns */
MSVCRT__exit
(
3
);
}
...
...
@@ -172,6 +174,8 @@ void CDECL MSVCRT__assert(const char* str, const char* file, unsigned int line)
}
else
_cprintf
(
"Assertion failed: %s, file %s, line %d
\n\n
"
,
str
,
file
,
line
);
MSVCRT_raise
(
MSVCRT_SIGABRT
);
/* in case raise() returns */
MSVCRT__exit
(
3
);
}
...
...
dlls/msvcrt/msvcrt.h
View file @
f415b5dd
...
...
@@ -611,6 +611,7 @@ MSVCRT_FILE* MSVCRT__fdopen(int, const char *);
int
MSVCRT_vsnprintf
(
char
*
str
,
unsigned
int
len
,
const
char
*
format
,
va_list
valist
);
int
MSVCRT_vsnwprintf
(
MSVCRT_wchar_t
*
str
,
unsigned
int
len
,
const
MSVCRT_wchar_t
*
format
,
va_list
valist
);
int
MSVCRT_raise
(
int
sig
);
#ifndef __WINE_MSVCRT_TEST
int
_write
(
int
,
const
void
*
,
unsigned
int
);
...
...
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