Author: rfm
Date: Sat Oct  3 19:38:21 2015
New Revision: 39023

URL: http://svn.gna.org/viewcvs/gnustep?rev=39023&view=rev
Log:
Fixup bad report of selector in an exception in runloop

Modified:
    libs/base/trunk/Source/NSRunLoop.m
    libs/base/trunk/Source/NSThread.m

Modified: libs/base/trunk/Source/NSRunLoop.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSRunLoop.m?rev=39023&r1=39022&r2=39023&view=diff
==============================================================================
--- libs/base/trunk/Source/NSRunLoop.m  (original)
+++ libs/base/trunk/Source/NSRunLoop.m  Sat Oct  3 19:38:21 2015
@@ -113,9 +113,9 @@
     {
       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
 }

Modified: libs/base/trunk/Source/NSThread.m
URL: 
http://svn.gna.org/viewcvs/gnustep/libs/base/trunk/Source/NSThread.m?rev=39023&r1=39022&r2=39023&view=diff
==============================================================================
--- libs/base/trunk/Source/NSThread.m   (original)
+++ libs/base/trunk/Source/NSThread.m   Sat Oct  3 19:38:21 2015
@@ -1335,9 +1335,9 @@
         {
           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


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to