[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: |
Andy Moreton |
Subject: |
bug#27986: 26.0.50; 'rename-file' can rename files without confirmation |
Date: |
Tue, 15 Aug 2017 13:45:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (windows-nt) |
On Mon 14 Aug 2017, Paul Eggert wrote:
> Paul Eggert wrote:
>> I installed the patch on 'master' to help you do that.
>
> After rereading the Apple manual I installed the attached further patch into
> master, so please try updating to the latest master before testing.
This patch breaks the Windows build for mingw64:
../../src/fileio.c: In function 'Frename_file':
../../src/fileio.c:2300:41: error: duplicate case value
case EEXIST: case EINVAL: case ENOSYS: case ENOTSUP:
^~~~
../../src/fileio.c:2300:28: note: previously used here
case EEXIST: case EINVAL: case ENOSYS: case ENOTSUP:
^~~~
A brief look suggests that the inclusion of ms-w32.h in conf_post.h is
the culprit, as it defines some error numbers before errno.h is
included, and thus overrides the conditional definitions in errno.h.
AndyM
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, (continued)
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Paul Eggert, 2017/08/14
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Paul Eggert, 2017/08/14
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Eli Zaretskii, 2017/08/14
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Paul Eggert, 2017/08/15
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Eli Zaretskii, 2017/08/15
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Ken Brown, 2017/08/16
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Ken Brown, 2017/08/19
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Paul Eggert, 2017/08/19
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Ken Brown, 2017/08/19
- bug#27986: 26.0.50; 'rename-file' can rename files without confirmation, Paul Eggert, 2017/08/19
bug#27986: 26.0.50; 'rename-file' can rename files without confirmation,
Andy Moreton <=
bug#27986: 26.0.50; 'rename-file' can rename files without, Richard Stallman, 2017/08/19