]> git.eshelyaron.com Git - emacs.git/commit
Fix over-protection of byte-compiled files
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 27 Aug 2017 06:07:01 +0000 (23:07 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 27 Aug 2017 06:07:58 +0000 (23:07 -0700)
commit231bfd6818890c0c22181ad253f09c8f2399461d
tree0b6cdb3591ff182a2ddd31272bc5a3e455d440da
parent1be689fbc4df1ca9883f5bdeb5dd3ccc00eae3aa
Fix over-protection of byte-compiled files

Problem reported by Sven Joachim (Bug#28244).
Also, fix similar problem for autoload files.
* lisp/emacs-lisp/autoload.el (autoload--save-buffer):
Set temp file modes to the buffer-file-name file modes (or 666
if not available) as adjusted by umask.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file):
Set temp file modes to 666 as adjusted by umask.
lisp/emacs-lisp/autoload.el
lisp/emacs-lisp/bytecomp.el