diff options
| author | Glenn Morris | 2012-07-09 00:07:24 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-07-09 00:07:24 -0700 |
| commit | d01ba2f14965203aef327c2cebf1474af0f12f90 (patch) | |
| tree | 713be84a86219010d326af47bde19f0e267f5331 /src/ChangeLog | |
| parent | 61a116066f7e8c58ece6aaa09aa245ff32764a02 (diff) | |
| download | emacs-d01ba2f14965203aef327c2cebf1474af0f12f90.tar.gz emacs-d01ba2f14965203aef327c2cebf1474af0f12f90.zip | |
Stop ns builds polluting the environment with EMACSDATA, EMACSDOC
It's bad form for one part of a program to communicate with another
part by making persistent changes to the environment of all subsequent
child processes. For example, it can cause odd bugs when building
Emacs from within Emacs (eg bug#6401, maybe).
* nsterm.m (ns_etc_directory): New function, split from ns_init_paths.
(ns_init_paths): Do not set EMACSDATA, EMACSDOC.
* nsterm.h (ns_etc_directory): Add it.
* callproc.c [HAVE_NS]: Include nsterm.h.
(init_callproc_1, init_callproc) [HAVE_NS]: Use ns_etc_directory.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1375bbe78d9..1aa5f7df5c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2012-07-09 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | Stop ns builds polluting the environment with EMACSDATA, EMACSDOC. | ||
| 4 | * nsterm.m (ns_etc_directory): New function, split from ns_init_paths. | ||
| 5 | (ns_init_paths): Do not set EMACSDATA, EMACSDOC. | ||
| 6 | * nsterm.h (ns_etc_directory): Add it. | ||
| 7 | * callproc.c [HAVE_NS]: Include nsterm.h. | ||
| 8 | (init_callproc_1, init_callproc) [HAVE_NS]: Use ns_etc_directory. | ||
| 9 | |||
| 1 | 2012-07-09 Dmitry Antipov <dmantipov@yandex.ru> | 10 | 2012-07-09 Dmitry Antipov <dmantipov@yandex.ru> |
| 2 | 11 | ||
| 3 | Move marker debugging code under MARKER_DEBUG. | 12 | Move marker debugging code under MARKER_DEBUG. |