From 3e0442abe1796c2197ea20f09a7ea0b3cf12ee82 Mon Sep 17 00:00:00 2001 From: rfm Date: Sat, 3 Oct 2015 17:38:21 +0000 Subject: [PATCH] Fixup bad report of selector in an exception in runloop git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39023 72102866-910b-0410-8b05-ffd578937521 --- Source/NSRunLoop.m | 4 ++-- Source/NSThread.m | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/NSRunLoop.m b/Source/NSRunLoop.m index 714872500..61789af39 100644 --- a/Source/NSRunLoop.m +++ b/Source/NSRunLoop.m @@ -113,9 +113,9 @@ static NSDate *theFuture = nil; { NSLog(@"*** NSRunLoop ignoring exception '%@' (reason '%@') " @"raised during performSelector... with target %p " - @"and selector '%@'", + @"and selector '%s'", [localException name], [localException reason], target, - NSStringFromSelector([target selector])); + sel_getName(selector)); } NS_ENDHANDLER } diff --git a/Source/NSThread.m b/Source/NSThread.m index 00cdc799c..7607c6166 100644 --- a/Source/NSThread.m +++ b/Source/NSThread.m @@ -1335,9 +1335,9 @@ GSRunLoopInfoForThread(NSThread *aThread) { NSLog(@"*** NSRunLoop ignoring exception '%@' (reason '%@') " @"raised during perform in other thread... with receiver %p " - @"and selector '%@'", + @"and selector '%s'", [localException name], [localException reason], receiver, - NSStringFromSelector(selector)); + sel_getName(selector)); } } NS_ENDHANDLER