[F-Script-talk] Patch for crasher
Brought to you by:
pmougin
From: Philippe M. <pm...@ac...> - 2006-03-18 01:20:52
|
A bug has been found that makes F-Script crash when all the following conditions are met: - You run on the Intel architecture a version of F-Script compiled for Intel (either Intel only or universal). - From F-Script, you invoke a method that takes more than seven arguments. - This method takes only object as arguments and returns an object (no primitive types). A new version that fix this bug will be posted soon. In the meantime you can correct it yourself by doing the following. In the file MsgContext.m change the following code #ifdef MESSAGING_USES_NSINVOCATION prepareNSInvocation = YES; #elif defined __ppc__ prepareNSInvocation = nbArg > 9 || shouldConvertArguments || specialReturnType; #else prepareNSInvocation = shouldConvertArguments || specialReturnType; #endif to this: #ifdef MESSAGING_USES_NSINVOCATION prepareNSInvocation = YES; #else prepareNSInvocation = nbArg > 9 || shouldConvertArguments || specialReturnType; #endif Best, Philippe Mougin |