Let rename-file rename dirs across filesystems
commit2f4bd2fbdaccbaa61fe9b5adb56ba9e8f3d49505
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 Oct 2017 20:08:53 +0000 (12 13:08 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 12 Oct 2017 20:11:33 +0000 (12 13:11 -0700)
tree71e75b38c66ba1554423ac7eccd911bc0b5adaef
parent413978727c9fb1d26b64e81412434064d99ec568
Let rename-file rename dirs across filesystems

Problem diagnosed by Andreas Schwab (Bug#28792#65).
This fixes a bug that I introduced in
2017-09-10T22:39:24@eggert@cs.ucla.edu
"Fix race with rename-file etc. with dir NEWNAME".
* src/fileio.c (Frename_file): Copy a source directory across
file system boundaries even if its name does not end in slash.
src/fileio.c