home *** CD-ROM | disk | FTP | other *** search
-
- In article <TML.93Apr29142524@tiuhti.tik.vtt.fi>, tml@tik.vtt.fi (Tor Lillqvist) writes:
- > ....
- > ScreenWidget.c:set_screen_size(): static Boolean is_first_screen =True;
- > ScreenWidget.c:setup_screen_gcs(): static char cursor_bits[] =
- > emacs.c:executable_file(): static int user_id = -1;
- > gmalloc.c:mcheck(): static int mcheck_used = 0;
- > menubar.c:dbox_descriptor_to_widget_value(): static char dbox_name [255];
- > ralloc.c:malloc_init(): static int malloc_initialized = 0;
- > regex.c:init_syntax_once(): static int done = 0;
- > xfns.c:change_cursor_for_gc(): static int changed;
- >
- > I don't know how critical these other "static" variables really are.
- > But they really should be moved outside the functions. I didn't notice
- > any change in lemacs behaviour after doing that, but then I don't yet
- > use lemacs very much (just lazy, I guess, I really should).
-
- Sometime last week I posted that my lemacs was crashing whenever I selected
- "Revert Buffer" from the pulldown menubar. As nearly as I could tell, it
- died while trying to create a Motif dialog box. My solution was to compile
- without Motif support.
-
- At any rate, I took Tor's advice (at least part of it) and moved the
- menubar.c declaration of "static char dbox_name [255];" so that is was
- outside of function dbox_descriptor_to_widget_value(). I re-enabled Motif
- support, rebuilt from scratch, and now it works!
-
- This may be a coincidence, but I'm not complaining.
-
- --
- Mike Scheidler INTERNET: c23mts@kocrsv01.delcoelect.com
- Software Technology UUCP: deaes!c23mts
- Delco Electronics Corporation PHONE: (317) 451-0642
- Kokomo, IN 46904 GMNET: 8-322-0642
-
-