mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
Fix the MS-Windows build
* src/fileio.c (Frename_file): Don't use ENOTSUP if it is equal to ENOSYS. (Bug#28097) (Bug#27986)
This commit is contained in:
parent
7f8e50fb2a
commit
63daecda01
1 changed files with 4 additions and 1 deletions
|
|
@ -2297,7 +2297,10 @@ This is what happens in interactive use with M-x. */)
|
|||
rename_errno = errno;
|
||||
switch (rename_errno)
|
||||
{
|
||||
case EEXIST: case EINVAL: case ENOSYS: case ENOTSUP:
|
||||
case EEXIST: case EINVAL: case ENOSYS:
|
||||
#if ENOSYS != ENOTSUP
|
||||
case ENOTSUP:
|
||||
#endif
|
||||
barf_or_query_if_file_exists (newname, rename_errno == EEXIST,
|
||||
"rename to it",
|
||||
INTEGERP (ok_if_already_exists),
|
||||
|
|
|
|||
Loading…
Reference in a new issue