(nnir-run-namazu): Fix a side effect when handling
authortsuchiya <tsuchiya>
Wed, 5 Sep 2001 04:47:48 +0000 (04:47 +0000)
committertsuchiya <tsuchiya>
Wed, 5 Sep 2001 04:47:48 +0000 (04:47 +0000)
of process environments.

ChangeLog
lisp/nnir.el

index 5e57118..dea75a1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-05  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>
+
+       * lisp/nnir.el (nnir-run-namazu): Fix a side effect when handling
+       of process environments.
+
 2001-09-04  TSUCHIYA Masatoshi  <tsuchiya@namazu.org>
 
        * lisp/nnir.el (top): Added code to avoid byte-compile warning
index fb78318..6d347d5 100644 (file)
@@ -1217,8 +1217,8 @@ Tested with Namazu 2.0.6 on a GNU/Linux system."
                  ,nnir-namazu-index-directory ; index directory
                  ))
              (exitstatus
-             (let ((process-environment process-environment))
-               ;; Disable locale of Namazu.
+             (let ((process-environment (copy-sequence process-environment)))
+               ;; Disable locale.
                (dolist (env process-environment)
                  (when (string-match "\
 \\`\\(L\\(ANG\\|C_\\(ALL\\|CTYPE\\|COLLATE\\|TIME\\|NUMERIC\\|MONETARY\\|MESSAGES\\)\\)\\)=" env)