Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!pacbell!att!ttrdc!ttrde!ttrdf!fjo From: fjo@ttrdf.UUCP (Frank Owen ) Newsgroups: comp.sys.mac.programmer Subject: Re: Multifinder: how do I patch GetNextEvent? Message-ID: <759@ttrdf.UUCP> Date: 20 Oct 88 18:43:38 GMT References: <18936@apple.Apple.COM> Organization: AT&T, Skokie, IL Lines: 13 in article <18936@apple.Apple.COM>, darin@Apple.COM (Darin Adler) says: > ... This is why it's permissible to do > something first, then call the real trap. In that case the stack is the same > as if the trap had been called directly, with the correct return address. Not if you CALL the trap it isn't! You must JUMP to the trap address upon exit to keep the stack intact. -- Frank Owen (fjo@ttrdf) 312-982-2182 AT&T Bell Laboratories 5555 Touhy Ave., Skokie, IL 60077 PATH: ...!att!ttrdf!fjo