changeset 109538:ed55b1a60024

* callproc.c (set_initial_environment): Avoid unbalanced braces.
author Andreas Schwab <schwab@linux-m68k.org>
date Sun, 25 Jul 2010 20:36:37 +0200
parents b8b5b9f67570
children d962ccf8829f
files src/ChangeLog src/callproc.c
diffstat 2 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Jul 25 10:13:30 2010 -0400
+++ b/src/ChangeLog	Sun Jul 25 20:36:37 2010 +0200
@@ -1,3 +1,7 @@
+2010-07-25  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* callproc.c (set_initial_environment): Avoid unbalanced braces.
+
 2010-07-25  Ken Brown  <kbrown@cornell.edu>
 
 	* vm-limit.c (check_memory_limits): Fix previous change;
--- a/src/callproc.c	Sun Jul 25 10:13:30 2010 -0400
+++ b/src/callproc.c	Sun Jul 25 20:36:37 2010 +0200
@@ -1530,13 +1530,12 @@
 set_initial_environment (void)
 {
   register char **envp;
-#ifndef CANNOT_DUMP
-  if (initialized)
-    {
+#ifdef CANNOT_DUMP
+  Vprocess_environment = Qnil;
 #else
+  if (initialized)
+#endif
     {
-      Vprocess_environment = Qnil;
-#endif
       for (envp = environ; *envp; envp++)
 	Vprocess_environment = Fcons (build_string (*envp),
 				      Vprocess_environment);