Fix tempfile creation when byte compiling
commit64c846738617d1d037eac0cefb6586c04317b0a1
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jan 2018 03:12:05 +0000 (20 19:12 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 Jan 2018 03:18:49 +0000 (20 19:18 -0800)
tree763700c43f3d16d233f4c194164b6f8f50d7a63e
parentf0c1277af5efafbc5e386affabc1ec3368e8a790
Fix tempfile creation when byte compiling

This improves on the recent fix for master failing to build
on FreeBSD.  Suggested by Stefan Monnier in:
https://lists.gnu.org/r/emacs-devel/2018-01/msg00600.html
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
Put tempfile next to the target file, as was the original intent.
lisp/emacs-lisp/bytecomp.el