From: ueno Date: Sun, 3 Feb 2002 15:54:29 +0000 (+0000) Subject: * lisp/nnir.el (nnir-run-namazu): According to SUSv3, LC_ALL is X-Git-Tag: t-gnus-6_15_6-01-quimby~76 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=8a386a3d98cb114acc78f83a4eec203d701d12f1;p=elisp%2Fgnus.git- * lisp/nnir.el (nnir-run-namazu): According to SUSv3, LC_ALL is prior to the other environment variables whose names are starting with "LC_". So there is no need to setting them. --- diff --git a/lisp/nnir.el b/lisp/nnir.el index ac7b08f..7006fe7 100644 --- a/lisp/nnir.el +++ b/lisp/nnir.el @@ -1242,11 +1242,7 @@ Tested with Namazu 2.0.6 on a GNU/Linux system." (exitstatus (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) - (setenv (match-string 1 env) nil))) - (setenv "LANG" "C") + (setenv "LC_ALL" "C") (message "%s args: %s" nnir-namazu-program (mapconcat 'identity (cddddr cp-list) " ")) (apply 'call-process cp-list))))