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

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

Re: setenv


From: Eli Zaretskii
Subject: Re: setenv
Date: Sat, 22 Sep 2001 11:23:21 +0300

> Date: Fri, 21 Sep 2001 23:40:17 -0600 (MDT)
> From: Richard Stallman <rms@gnu.org>
> 
>     Unfortunately, option 3 depends on intimate knowledge of the library
>     internals, and might mean you will need ugly system-dependent code
>     that potentially needs to be changed when new versions of the
>     libraries are released on each system.
> 
> In theory, we would need intimate knowledge.  In practice, I think we
> don't.  There are just a few parts of Emacs that do anything so
> complex it might fork a process without Emacs's knowledge.

Maybe we need some reality check.  Could someone who is familiar with
glibc internals grep its sources for calls to `getenv' or its internal
equivalents, and see how many are there?

> And it would never hurt to add a few extra calls to the function
> that updates the C-level environment, whenever there is doubt.

Yes.



reply via email to

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