]> git.eshelyaron.com Git - emacs.git/commit
Restore process-environment after portable dumping
authorEli Zaretskii <eliz@gnu.org>
Wed, 3 Apr 2019 17:30:23 +0000 (20:30 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 3 Apr 2019 17:30:23 +0000 (20:30 +0300)
commitb29b79efd9752caf1e99273575a00b6769ddad56
treeb7f8157541214a0f60634ba0dc3612d1642c491b
parent9df0b8d166a3b3805c20e10885f15f9e35de7ec6
Restore process-environment after portable dumping

* src/pdumper.c (struct dump_context): New member
old_process_environment.
(Fdump_emacs_portable): Record the original value of
process-environment.
(dump_unwind_cleanup): Restore the original values of
process-environment and post-gc-hook.
src/pdumper.c