From 5979003db6da483221f4a2802c2f9213f2cbc34d Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Wed, 25 Jan 2012 10:06:05 -0600 Subject: shut windows up --- xxxterm.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit 1.4.1-2-gfad0 ster'>master mirror of ~rjarry's aerc fork - a pretty good email clientakspecs <akspecs@tilde.institute>
summary refs log blame commit diff stats
path: root/Makefile
blob: d3072d37ef56f9f4c65b0b3c723f9df303182853 (plain) (tree)
1
2
3
4
5
6
7