Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!seismo!mcvax!enea!tut!santra!kolvi!jsa From: jsa@kolvi.UUCP Newsgroups: comp.emacs Subject: Fix to MicroEMACS 3.8g Message-ID: <1133@kolvi.UUCP> Date: Wed, 25-Mar-87 03:44:13 EST Article-I.D.: kolvi.1133 Posted: Wed Mar 25 03:44:13 1987 Date-Received: Sat, 28-Mar-87 08:30:42 EST Reply-To: jsa@kolvi.UUCP (Jari Salminen) Distribution: world Organization: Helsinki University of Technology, Finland Lines: 16 Sorry, but in my IBMPC.C for MicroEMACS 3.8g was bug. Here's John Maline's mail to me. Thanks John. Jari ->I think I've found a problem in your combined CGA/mono/EGA driver. You ->define the character pointer 'buf' in the initialization function, but its ->value is never set (or I missed it). Therefore, when you use it as a buffer ->for the peek() and poke() calls, you are changing a byte in some random ->memory location. ->This could be fixed by changing the declaration to something like: ->char *buf = "x"; ->This would make 'buf' point to a known safe place. -> -> ->John Maline