Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!chrisj From: chrisj@ut-emx.uucp (Chris Johnson) Newsgroups: comp.sys.mac.programmer Subject: Re: ResEdit 2.0b2, GateKeeper 1.1.1 incompatibility Message-ID: <37947@ut-emx.uucp> Date: 5 Oct 90 20:58:52 GMT References: <523@skye.cs.ed.ac.uk> Organization: U.T. Austin Computation Center Lines: 43 In article <523@skye.cs.ed.ac.uk> nick@lfcs.ed.ac.uk writes: >I've found what seems to be a rather obscure incompatibility between >ResEdit 2.0b2 and GateKeeper 1.1.1. When GateKeeper is active, ResEdit >will *sometimes* bomb out when trying to create or edit MENU's. When >it does so, it stamps on its preferences file, so the usual >let-try-it-again-without-any-INITs trick doesn't work (that kept me >guessing for a while...) For what it's worth, I haven't seen any indication of a conflict between Gatekeeper and ResEdit 2.0b2. Further, there really *shouldn't* be one (for what statements like that are ever worth) because editing menus requires no Resource or File privileges of any kind. However, you do have the current version of Gatekeeper, but do you also have the current version of Gatekeeper Aid, which is 1.0.2? >The weird thing is that I'm running GateKeeper in notify-only mode, so >it's only throwing up an alert and continuing when ResEdit makes any >alterations. Hitting GateKeeper's override button seems to fix it >sometimes (I haven't tested this exhaustively); also, granting ResEdit >Res(Self) privileges seems to be a fix. Yipes. Unless you're actually using ResEdit to edit itself (which could cause crashes in and of itself), ResEdit won't need Res(Self) privileges. Normally, Res(Other, Sys) and File(Other) privileges are sufficient. >As I say: GateKeeper is only running in Notify mode, so the privileges >it grants to ResEdit should be irrelevant. Perhaps there's a problem >like the one with, what is it, MacDraw II? The problem with MacDraw II was in Gatekeeper's patch to PBSetFInfo. This problem has been found and fixed. The fix for existing versions of Gate- keeper is retroactive and is present in Gatekeeper Aid 1.0.2. However, PBSetFInfo would not be used in the process of editing menus, so this problem (if it is a problem) should be unrelated. If anyone has information on this problem or other problems, please let me know. Thanks, ----Chris (Johnson) ----Author of Gatekeeper ----chrisj@emx.utexas.edu