bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setenv


From: Andreas Schwab
Subject: Re: setenv
Date: 20 Sep 2001 17:40:24 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.106

Eli Zaretskii <eliz@is.elta.co.il> writes:

|> On 20 Sep 2001, Andreas Schwab wrote:
|> 
|> > |> So if Emacs provides a primitive that calls putenv internally, Lisp
|> > |> programs will be able to modify Emacs's own environment.
|> > 
|> > I don't think that would be needed, because environ is not used except for
|> > initializing process-environment and for fiddling with the time zone.
|> 
|> It is used for a few other things, such as looking for executable files 
|> along PATH.

No, all callers of child_setup already use exec-path to make the program
name absolute so that execvp never searches PATH.

Andreas.

-- 
Andreas Schwab                                  "And now for something
Andreas.Schwab@suse.de                          completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]