bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27986: 26.0.50; 'rename-file' can rename files without confirmation


From: Ken Brown
Subject: bug#27986: 26.0.50; 'rename-file' can rename files without confirmation
Date: Mon, 14 Aug 2017 09:44:54 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 8/13/2017 7:48 PM, Paul Eggert wrote:
Getting back to Philipp's original bug report, Apple documentation says macOS has a facility like the Linux renameat2 system call (i.e., it's like 'renameat' except it can be told to fail if the destination already exists). Attached is a proposed patch to use this facility, which means that the case-insensitivity test would no longer need to be done in macOS. If there's some way to implement renameat_noreplace on MS-Windows we could get rid of the case-insensitivity test there too.

I think we still need the case-insensitivity test on Cygwin as well as on MS-Windows.

Ken






reply via email to

[Prev in Thread] Current Thread [Next in Thread]