]> git.eshelyaron.com Git - emacs.git/commit
Port better to glibc 2.28+ renameat2
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Dec 2022 05:40:02 +0000 (21:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 18 Dec 2022 06:38:58 +0000 (22:38 -0800)
commit5a344d90c53d681ed98ab03ad3e218a3c6561108
tree961c99e7c03cc78412f05d00f8cc2f42ef57edfe
parent0dddf9849eac699466a33f7ec28dd5290eea29b0
Port better to glibc 2.28+ renameat2

* configure.ac: Check for renameat2.
* src/sysdep.c (renameat_noreplace): Prefer renameat2 (supplied by
glibc 2.28 and later) to doing the syscall by hand.
configure.ac
src/sysdep.c