This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/screen.c b/src/screen.c | |
index 6e19732..3a8ca3e 100644 | |
--- a/src/screen.c | |
+++ b/src/screen.c | |
@@ -1102,8 +1102,10 @@ char **av; | |
n = (eff_uid == 0 && (real_uid || (st.st_mode & 0775) != 0775)) ? 0755 : | |
(eff_gid == (int)st.st_gid && eff_gid != real_gid) ? 0775 : | |
0777; | |
+#if !defined(__CYGWIN__) | |
if (((int)st.st_mode & 0777) != n) |