home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Tue, 15 Sep 1992 11:27:54 EDT
- From: bobhays@spss.com
- Message-ID: <9209151527.AA17314@ibmws001.spss.com>
- Subject: Update on my continuing struggle with lucid on AIX
- Date: Tue, 15 Sep 1992 10:27:53 CDT
- X-Mailer: ELM [version 2.3 PL11]
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 46
-
- I suppose hacking is allowed here :-) ....
-
- This change allowed me to get lucid to start up and actually do some
- things.
-
- > diff menubar.c menubar.c~
- 146c146
- < if ( wv && wv != 0xDEADBEEF)
- ---
- > if ( wv )
- 150c150
- < if (wv->key && wv->key != 0xDEADBEEF) free (wv->key);
- ---
- > if (wv->key) free (wv->key);
- 161,174c161,162
- < if (a && a != 0xDEADBEEF)
- < {
- < if ( a->key && a->key != 0xDEADBEEF )
- < {
- < free ( a->key );
- < }
- < }
- < if (b && b != 0xDEADBEEF)
- < {
- < if ( b->key && b->key != 0xDEADBEEF )
- < {
- < free ( b->key );
- < }
- < }
- ---
- > if (a) free_widget_value (a);
- > if (b) free_widget_value (b);
-
- Note that I took the recursive call to free_widget_value out - if you
- do not, you end up segment violating in the free call because a
- pointer has a non-null value but is not pointing to allocated memory.
- Anyway, this allowed me to get further. Now, I can lock it up if I do
- just the right things, and I can still get it to core dump (I think -
- the above fix might have changed that behavior now that I think about
- it:-), but I can get it to load, open files, etc.
-
- That's all I can do today (/usr/group/chicago meeting tonight - our
- local UniForum users group, of which I'm an active [read volunteer
- dish wiper] member].
-
- Have fun! - Bob
-