home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / bug-lucid-emacs / text0123.txt < prev    next >
Encoding:
Text File  |  1993-07-04  |  1.6 KB  |  36 lines

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