comparison src/emacs.c @ 245:51092a27c943 r20-5b21

Import from CVS: tag r20-5b21
author cvs
date Mon, 13 Aug 2007 10:17:54 +0200
parents 41f2f0e326e9
children 677f6a0ee643
comparison
equal deleted inserted replaced
244:78d4f1140794 245:51092a27c943
542 #endif 542 #endif
543 543
544 /* Record (approximately) where the stack begins. */ 544 /* Record (approximately) where the stack begins. */
545 stack_bottom = &stack_bottom_variable; 545 stack_bottom = &stack_bottom_variable;
546 546
547 #ifdef RUN_TIME_REMAP
548 if (initialized)
549 run_time_remap (argv[0]);
550 #endif
551
552 #ifdef USG_SHARED_LIBRARIES 547 #ifdef USG_SHARED_LIBRARIES
553 if (bss_end) 548 if (bss_end)
554 brk ((void *) bss_end); 549 brk ((void *) bss_end);
555 #endif 550 #endif
556 551
829 syms_of_device (); 824 syms_of_device ();
830 #ifdef HAVE_DIALOGS 825 #ifdef HAVE_DIALOGS
831 syms_of_dialog (); 826 syms_of_dialog ();
832 #endif 827 #endif
833 syms_of_dired (); 828 syms_of_dired ();
829 #ifdef HAVE_SHLIB
830 syms_of_dlopen ();
831 #endif
834 syms_of_doc (); 832 syms_of_doc ();
835 syms_of_editfns (); 833 syms_of_editfns ();
836 syms_of_elhash (); 834 syms_of_elhash ();
837 syms_of_emacs (); 835 syms_of_emacs ();
838 syms_of_eval (); 836 syms_of_eval ();
1908 environ=_environ; 1906 environ=_environ;
1909 } 1907 }
1910 #endif /* _SCO_DS */ 1908 #endif /* _SCO_DS */
1911 vol_envp = environ; 1909 vol_envp = environ;
1912 } 1910 }
1911 #ifdef RUN_TIME_REMAP
1912 else
1913 /* obviously no-one uses this because where it was before initalized was
1914 *always* true */
1915 run_time_remap (argv[0]);
1916 #endif
1917
1913 run_temacs_argc = -1; 1918 run_temacs_argc = -1;
1914 1919
1915 main_1 (vol_argc, vol_argv, vol_envp, restarted); 1920 main_1 (vol_argc, vol_argv, vol_envp, restarted);
1916 return 0; /* unreached */ 1921 return 0; /* unreached */
1917 } 1922 }