mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-13 01:20:57 +00:00
fi for bug #36706
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35278 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
327b1beb91
commit
4555af88c0
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-07-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/GSFFIInvocation.m: Fix for bug #36706
|
||||||
|
|
||||||
2012-07-09 Sebastian Reitenbach <buzzdee>
|
2012-07-09 Sebastian Reitenbach <buzzdee>
|
||||||
|
|
||||||
* Source/NSThread.m: Fixes test for posix thread scheduling.
|
* Source/NSThread.m: Fixes test for posix thread scheduling.
|
||||||
|
|
|
@ -191,6 +191,14 @@ static IMP gs_objc_msg_forward2 (id receiver, SEL sel)
|
||||||
}
|
}
|
||||||
if (nil == sig)
|
if (nil == sig)
|
||||||
{
|
{
|
||||||
|
if (nil == receiver)
|
||||||
|
{
|
||||||
|
/* If we have a nil receiver, so the runtime is probably trying
|
||||||
|
* to check for forwarding ... return NULL to let it fall back
|
||||||
|
* on the standard forwarding mechanism.
|
||||||
|
*/
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"%c[%s %s]: unrecognized selector sent to instance %p",
|
format: @"%c[%s %s]: unrecognized selector sent to instance %p",
|
||||||
(class_isMetaClass(c) ? '+' : '-'),
|
(class_isMetaClass(c) ? '+' : '-'),
|
||||||
|
|
Loading…
Reference in a new issue