]> git.eshelyaron.com Git - emacs.git/commit
Restore file's original name after a failed rename_replace on Windows 9X
authorPo Lu <luangruo@yahoo.com>
Fri, 14 Jun 2024 02:44:20 +0000 (10:44 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sat, 15 Jun 2024 17:21:13 +0000 (19:21 +0200)
commitff954cf11bd6cd03d100924f4d3c77488201f83e
tree3b23646d6884873988d48df88a50293bfac3126c
parent54c93d2f41bf1a36bff9928c7f8bdc6f91202209
Restore file's original name after a failed rename_replace on Windows 9X

* src/w32.c (sys_rename_replace): If the rename operation fails
and an intermediate name was generated and applied to the input
file, restore the original.

(cherry picked from commit a458dc5dc828cfbe5d74226d6ef45a3d205cb7d8)
src/w32.c