aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fileio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index e557483ac4a..1b832be344d 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2297,7 +2297,10 @@ This is what happens in interactive use with M-x. */)
2297 rename_errno = errno; 2297 rename_errno = errno;
2298 switch (rename_errno) 2298 switch (rename_errno)
2299 { 2299 {
2300 case EEXIST: case EINVAL: case ENOSYS: case ENOTSUP: 2300 case EEXIST: case EINVAL: case ENOSYS:
2301#if ENOSYS != ENOTSUP
2302 case ENOTSUP:
2303#endif
2301 barf_or_query_if_file_exists (newname, rename_errno == EEXIST, 2304 barf_or_query_if_file_exists (newname, rename_errno == EEXIST,
2302 "rename to it", 2305 "rename to it",
2303 INTEGERP (ok_if_already_exists), 2306 INTEGERP (ok_if_already_exists),