Commit graph

1 commit

Author SHA1 Message Date
Eelco Dolstra
71e6e0c1d1 emacs: Clear the environment while dumping
This reduces the closure size of Emacs from 575 to 279 MiB. Dumping
Emacs had a chance of leaking parts of the environment (such as $PATH)
into the dumped executable. This hopefully fixes it. (It's a bit hard
to tell since the effect is not deterministic.)

(cherry picked from commit cf599d3f99)
2017-09-27 12:32:33 +02:00