1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 20:13:29 -08:00
emacs/doc
Paul Eggert a560b856b1 Plain copy-file no longer chmods an existing destination.
* doc/lispref/files.texi (Changing Files): Document this.
* etc/NEWS: Document this.
* src/fileio.c (realmask): Now a static var, not a local.
(barf_or_query_if_file_exists): New arg KNOWN_TO_EXIST.
Remove arg STATPTR.  All uses changed.
(Fcopy_file): Do not alter permissions of existing destinations,
unless PRESERVE-PERMISSIONS (renamed from
PRESERVE-EXTENDED-ATTRIBUTES) is non-nil.
Avoid race when testing for existing destinations and for
when input and output files are the same.
If changing the group fails, adjust both default and
preserved permissions so that access is not granted to the
wrong group.
(Fset_default_file_modes, init_fileio): Update realmask.
(Fdefault_file_modes): Use realmask instead of calling umask.

Fixes: debbugs:16133
2013-12-29 10:18:45 -08:00
..
emacs * doc/emacs/trouble.texi (Understanding Bug Reporting): Brevity. 2013-12-27 16:42:59 -08:00
lispintro Generate info/dir from .texi files rather than .info files 2013-12-12 17:41:31 -05:00
lispref Plain copy-file no longer chmods an existing destination. 2013-12-29 10:18:45 -08:00
man * doc/emacs/xresources.texi (Motif Resources): 2013-08-31 12:49:52 -07:00
misc authors.el updates and ChangeLog fixes 2013-12-27 16:31:33 -08:00