From 8df64eca07aedbd5b5628afe0d984b150487bf43 Mon Sep 17 00:00:00 2001 From: rfm Date: Fri, 18 Mar 2011 06:18:24 +0000 Subject: [PATCH] fix bug registering typed selectors git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32641 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/Additions/GSObjCRuntime.m | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index ff6576e14..09281104a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-03-18 Richard Frith-Macdonald + + * Source/Additions/GSObjCRuntime.m: Use old API to work around bug in + current sel_registerTypedName(). + 2011-03-17 Wolfgang Lux * Source/NSProcessInfo.m (_gnu_process_args): Use C runtime system diff --git a/Source/Additions/GSObjCRuntime.m b/Source/Additions/GSObjCRuntime.m index 7950c4c13..aff1356ae 100644 --- a/Source/Additions/GSObjCRuntime.m +++ b/Source/Additions/GSObjCRuntime.m @@ -143,8 +143,10 @@ GSSelectorFromNameAndTypes(const char *name, const char *types) { #if NeXT_RUNTIME return sel_getUid(name); +/* Don't do the next line until the function works. #elif defined (__GNU_LIBOBJC__) return sel_registerTypedName(name, types); +*/ #elif defined (__GNUSTEP_RUNTIME__) return sel_registerTypedName_np(name, types); #else