Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/src/emacs.c Mon Aug 13 10:17:09 2007 +0200 +++ b/src/emacs.c Mon Aug 13 10:17:54 2007 +0200 @@ -544,11 +544,6 @@ /* Record (approximately) where the stack begins. */ stack_bottom = &stack_bottom_variable; -#ifdef RUN_TIME_REMAP - if (initialized) - run_time_remap (argv[0]); -#endif - #ifdef USG_SHARED_LIBRARIES if (bss_end) brk ((void *) bss_end); @@ -831,6 +826,9 @@ syms_of_dialog (); #endif syms_of_dired (); +#ifdef HAVE_SHLIB + syms_of_dlopen (); +#endif syms_of_doc (); syms_of_editfns (); syms_of_elhash (); @@ -1910,6 +1908,13 @@ #endif /* _SCO_DS */ vol_envp = environ; } +#ifdef RUN_TIME_REMAP + else + /* obviously no-one uses this because where it was before initalized was + *always* true */ + run_time_remap (argv[0]); +#endif + run_temacs_argc = -1; main_1 (vol_argc, vol_argv, vol_envp, restarted);