about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-01-25 10:06:05 -0600
committerMarco Peereboom <marco@conformal.com>2012-01-25 10:06:05 -0600
commit5979003db6da483221f4a2802c2f9213f2cbc34d (patch)
treef10a3e996105615daaa842a655d5c152949a7c85
parentd687d46316edad2fbd5d2a6c1357b9dc5900ee62 (diff)
downloadxombrero-5979003db6da483221f4a2802c2f9213f2cbc34d.tar.gz
shut windows up
-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