# HG changeset patch # User Richard M. Stallman # Date 873318862 0 # Node ID fce71d3f95b192c30f11cd019bd81875e8bb2682 # Parent 6fad157cece4df232b06728e50ba8f80aed246ae (main): Call run_time_remap earlier, before any use of stdio. diff -r 6fad157cece4 -r fce71d3f95b1 src/emacs.c --- a/src/emacs.c Wed Sep 03 16:20:47 1997 +0000 +++ b/src/emacs.c Wed Sep 03 20:34:22 1997 +0000 @@ -505,6 +505,11 @@ } #endif +#ifdef RUN_TIME_REMAP + if (initialized) + run_time_remap (argv[0]); +#endif + sort_args (argc, argv); if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args)) @@ -615,11 +620,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);