diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-03 16:18:45 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2017-08-03 16:19:21 -0700 |
commit | ddc1ff58dec92a782b233d97a254fc41c1c887eb (patch) | |
tree | 586afc017bdf34794c18763b946626433b626e4a /lisp/emacs-lisp/checkdoc.el | |
parent | f465efe412607c6b931e3592e96200f2ff3b8d74 (diff) | |
download | emacs-ddc1ff58dec92a782b233d97a254fc41c1c887eb.tar.gz emacs-ddc1ff58dec92a782b233d97a254fc41c1c887eb.tar.bz2 emacs-ddc1ff58dec92a782b233d97a254fc41c1c887eb.zip |
Port recent rename changes to RHEL 7 + NFS
Problem reported by Ted Zlatanov in:
http://lists.gnu.org/archive/html/emacs-devel/2017-08/msg00082.html
* src/fileio.c (Frename_file): On RHEL 7 + NFS, renameat2 can fail
with errno == EINVAL when it is not supported. So treat that case
like errno == ENOSYS. Also, when ok_if_already_exists is neither
nil nor an integer, just call plain rename; this avoids an extra
syscall to renameat2 when the latter fails with errno == EINVAL or
ENOSYS or ENOENT.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
0 files changed, 0 insertions, 0 deletions