changeset 19729:fce71d3f95b1

(main): Call run_time_remap earlier, before any use of stdio.
author Richard M. Stallman <rms@gnu.org>
date Wed, 03 Sep 1997 20:34:22 +0000
parents 6fad157cece4
children 1657f4dd8c05
files src/emacs.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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);