diff options
| author | Jason Rumney | 2008-01-20 23:17:25 +0000 |
|---|---|---|
| committer | Jason Rumney | 2008-01-20 23:17:25 +0000 |
| commit | cf32108ec4fa2c2ce99071d97ccdbfe29e6b0921 (patch) | |
| tree | c6bb3aff04a7b82b50c41b58216c7a58e159aff5 | |
| parent | f6f461323d9a844722c8f92d6549c797e13e19df (diff) | |
| download | emacs-cf32108ec4fa2c2ce99071d97ccdbfe29e6b0921.tar.gz emacs-cf32108ec4fa2c2ce99071d97ccdbfe29e6b0921.zip | |
(CYGWIN) [USING_SH]: Disable mapping of file permissions to NTFS ACLs.
| -rw-r--r-- | nt/ChangeLog | 5 | ||||
| -rw-r--r-- | nt/gmake.defs | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 033a73b51d0..88c633c8c39 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-01-20 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * gmake.defs (CYGWIN) [USING_SH]: Disable mapping of file | ||
| 4 | permissions to NTFS ACLs. | ||
| 5 | |||
| 1 | 2007-10-20 Eli Zaretskii <eliz@gnu.org> | 6 | 2007-10-20 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * configure.bat (docflags, doldflags): New variables. | 8 | * configure.bat (docflags, doldflags): New variables. |
diff --git a/nt/gmake.defs b/nt/gmake.defs index e782c203e76..6bc5e247886 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs | |||
| @@ -99,6 +99,16 @@ sh_output := $(shell echo foo") | |||
| 99 | ifeq "$(sh_output)" "" | 99 | ifeq "$(sh_output)" "" |
| 100 | NEW_CYGWIN = 1 | 100 | NEW_CYGWIN = 1 |
| 101 | endif | 101 | endif |
| 102 | |||
| 103 | # By default, newer versions of Cygwin mess with NTFS ACLs in an | ||
| 104 | # attempt to emulate traditional posix file permissions. This can | ||
| 105 | # cause bad effects, such as .exe files that are missing the | ||
| 106 | # FILE_EXECUTE/FILE_GENERIC_EXECUTE permissions when they are created | ||
| 107 | # with Cygwin commands that don't expect to be creating executable | ||
| 108 | # files. Then when we later use a non-Cygwin program to create the | ||
| 109 | # real .exe, the previous Cygwin defined ACL sticks. | ||
| 110 | CYGWIN=nontsec | ||
| 111 | export CYGWIN | ||
| 102 | endif | 112 | endif |
| 103 | 113 | ||
| 104 | ALL_DEPS = $^ | 114 | ALL_DEPS = $^ |