mirror of
https://github.com/reactos/reactos.git
synced 2025-07-01 20:11:22 +00:00
[CRT]
Add a debug print to help bugs like 5486. svn path=/trunk/; revision=48078
This commit is contained in:
parent
d17757a733
commit
f9dc8f0766
1 changed files with 1 additions and 0 deletions
|
@ -12,6 +12,7 @@ void _assert(const char *msg, const char *file, unsigned line)
|
||||||
{
|
{
|
||||||
/* Assertion failed at foo.c line 45: x<y */
|
/* Assertion failed at foo.c line 45: x<y */
|
||||||
fprintf(stderr, "Assertion failed at %s line %d: %s\n", file, line, msg);
|
fprintf(stderr, "Assertion failed at %s line %d: %s\n", file, line, msg);
|
||||||
|
DPRINT1("Assertion failed at %s line %d: %s\n", file, line, msg);
|
||||||
raise(SIGABRT);
|
raise(SIGABRT);
|
||||||
for(;;); /* eliminate warning by mingw */
|
for(;;); /* eliminate warning by mingw */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue