about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--xxxterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 50f10c7..0665d06 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -7227,11 +7227,13 @@ printf("making: %s\n", dir);
 	}
 	if (S_ISDIR(sb.st_mode) == 0)
 		errx(1, "%s not a dir", dir);
+#if !defined __MINGW32__
 	if (((sb.st_mode & (S_IRWXU | S_IRWXG | S_IRWXO))) != S_IRWXU) {
 		warnx("fixing invalid permissions on %s", dir);
 		if (chmod(dir, S_IRWXU) == -1)
 			err(1, "chmod %s", dir);
 	}
+#endif
 }
 
 void