diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-07 23:58:54 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-07 23:58:54 +0200 |
commit | 5c55c26431ce22d4384a062911ccd1d886b1ae48 (patch) | |
tree | dc7d00a7b219e694d115434752b1a9a2ffd5d099 /src | |
parent | ceef96683481b96ab2dc418fee437a82251af88f (diff) |
remove S_IRGRP to make things compile in MinGW
Diffstat (limited to 'src')
-rw-r--r-- | src/ImageMetaData.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ImageMetaData.cxx b/src/ImageMetaData.cxx index 7cedcf2..cb41167 100644 --- a/src/ImageMetaData.cxx +++ b/src/ImageMetaData.cxx @@ -199,7 +199,7 @@ ImageMetaData::save_image_jpgcom(char *in_img, char *out_img) { char* dirbuf = strdup(out_img); #if ! HAVE_MKSTEMP tmpname = tempnam(dirname(dirbuf), ".gipfel"); - tmp_fd = open(tmpname, O_WRONLY|O_TRUNC|O_CREAT, S_IRUSR|S_IWUSR|S_IRGRP); + tmp_fd = open(tmpname, O_WRONLY|O_TRUNC|O_CREAT, S_IRUSR|S_IWUSR); #else char tmpbuf[MAXPATHLEN]; snprintf(tmpbuf, sizeof(tmpbuf), "%s/.gipfelXXXXXX", dirname(dirbuf)); |