mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-02 09:31:07 +00:00
Add missing newlines in fprintfs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21869 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1772b06d57
commit
bf7f08056d
1 changed files with 4 additions and 4 deletions
|
@ -369,7 +369,7 @@ _NSAddHandler (NSHandler* handler)
|
||||||
if (thread->_exception_handler
|
if (thread->_exception_handler
|
||||||
&& IsBadReadPtr(thread->_exception_handler, sizeof(NSHandler)))
|
&& IsBadReadPtr(thread->_exception_handler, sizeof(NSHandler)))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "ERROR: Current exception handler is bogus.");
|
fprintf(stderr, "ERROR: Current exception handler is bogus.\n");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
handler->next = thread->_exception_handler;
|
handler->next = thread->_exception_handler;
|
||||||
|
@ -386,20 +386,20 @@ _NSRemoveHandler (NSHandler* handler)
|
||||||
if (thread->_exception_handler != handler)
|
if (thread->_exception_handler != handler)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "ERROR: Removing exception handler that is not on top "
|
fprintf(stderr, "ERROR: Removing exception handler that is not on top "
|
||||||
"of the stack. (You probably called return in an NS_DURING block.)");
|
"of the stack. (You probably called return in an NS_DURING block.)\n");
|
||||||
}
|
}
|
||||||
#if defined(__WIN32__)
|
#if defined(__WIN32__)
|
||||||
if (IsBadReadPtr(handler, sizeof(NSHandler)))
|
if (IsBadReadPtr(handler, sizeof(NSHandler)))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "ERROR: Could not remove exception handler, "
|
fprintf(stderr, "ERROR: Could not remove exception handler, "
|
||||||
"handler is bad pointer.");
|
"handler is bad pointer.\n");
|
||||||
thread->_exception_handler = 0;
|
thread->_exception_handler = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (handler->next && IsBadReadPtr(handler->next, sizeof(NSHandler)))
|
if (handler->next && IsBadReadPtr(handler->next, sizeof(NSHandler)))
|
||||||
{
|
{
|
||||||
fprintf(stderr, "ERROR: Could not restore exception handler, "
|
fprintf(stderr, "ERROR: Could not restore exception handler, "
|
||||||
"handler->next is bad pointer.");
|
"handler->next is bad pointer.\n");
|
||||||
thread->_exception_handler = 0;
|
thread->_exception_handler = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue