|
From: Andre R. <and...@us...> - 2004-11-09 20:33:16
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28441 Modified Files: langverbs.c Log Message: Calling any of the DLL verbs currently crashes the Mach-O build of the Carbon version, so disable them and report an error instead. Index: langverbs.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/langverbs.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** langverbs.c 31 Oct 2004 18:48:51 -0000 1.4 --- langverbs.c 9 Nov 2004 20:33:06 -0000 1.5 *************** *** 3142,3145 **** --- 3142,3151 ---- return (callscriptverb (hparam1, v)); + #if defined(WIN95VERSION) || (defined(MACVERSION) && !TARGET_RT_MAC_MACHO) + /* + 2004-11-09 aradke: calling DLLs through the Code Fragment Manager (CFM) + doesn't work yet on Carbon/Mach-O. throw an error instead of crashing. + */ + case dllcallfunc: case calldllfunc: /* this is remaining for historical usage per Dave. rab: 5.0b4 1/6/98 */ *************** *** 3154,3158 **** case dllisloadedfunc: return (dllisloadedverb (hparam1, v)); ! case packwindowfunc: return (langpackwindowverb (hparam1, v)); --- 3160,3165 ---- case dllisloadedfunc: return (dllisloadedverb (hparam1, v)); ! #endif ! case packwindowfunc: return (langpackwindowverb (hparam1, v)); |