From: Andreas Schwab Date: Sun, 25 Jul 2010 18:36:37 +0000 (+0200) Subject: * callproc.c (set_initial_environment): Avoid unbalanced braces. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~49^2~136^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7bfa6d7793030944556daeede46dff688465cfd7;p=emacs.git * callproc.c (set_initial_environment): Avoid unbalanced braces. --- diff --git a/src/ChangeLog b/src/ChangeLog index f0cc70192b9..0ed773d1acd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-07-25 Andreas Schwab + + * callproc.c (set_initial_environment): Avoid unbalanced braces. + 2010-07-25 Ken Brown * vm-limit.c (check_memory_limits): Fix previous change; diff --git a/src/callproc.c b/src/callproc.c index 7f72df86ece..7019d741b34 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -1530,13 +1530,12 @@ void set_initial_environment (void) { register char **envp; -#ifndef CANNOT_DUMP - if (initialized) - { +#ifdef CANNOT_DUMP + Vprocess_environment = Qnil; #else - { - Vprocess_environment = Qnil; + if (initialized) #endif + { for (envp = environ; *envp; envp++) Vprocess_environment = Fcons (build_string (*envp), Vprocess_environment);