mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +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
d8179c6a5e
commit
454561b8b8
1 changed files with 4 additions and 4 deletions
|
@ -369,7 +369,7 @@ _NSAddHandler (NSHandler* handler)
|
|||
if (thread->_exception_handler
|
||||
&& IsBadReadPtr(thread->_exception_handler, sizeof(NSHandler)))
|
||||
{
|
||||
fprintf(stderr, "ERROR: Current exception handler is bogus.");
|
||||
fprintf(stderr, "ERROR: Current exception handler is bogus.\n");
|
||||
}
|
||||
#endif
|
||||
handler->next = thread->_exception_handler;
|
||||
|
@ -386,20 +386,20 @@ _NSRemoveHandler (NSHandler* handler)
|
|||
if (thread->_exception_handler != handler)
|
||||
{
|
||||
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 (IsBadReadPtr(handler, sizeof(NSHandler)))
|
||||
{
|
||||
fprintf(stderr, "ERROR: Could not remove exception handler, "
|
||||
"handler is bad pointer.");
|
||||
"handler is bad pointer.\n");
|
||||
thread->_exception_handler = 0;
|
||||
return;
|
||||
}
|
||||
if (handler->next && IsBadReadPtr(handler->next, sizeof(NSHandler)))
|
||||
{
|
||||
fprintf(stderr, "ERROR: Could not restore exception handler, "
|
||||
"handler->next is bad pointer.");
|
||||
"handler->next is bad pointer.\n");
|
||||
thread->_exception_handler = 0;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue