zip/zip-2.31-umask_mode.patch
Ivana Varekova 68b5760de6 - fix "zip does not honor umask setting when creating archives"
- fix "zip segfaults by attempt to archive big file"
- spec file cleanup
2007-11-05 13:29:27 +00:00

13 lines
440 B
Diff

diff -up zip-2.31/fileio.c.pom zip-2.31/fileio.c
--- zip-2.31/fileio.c.pom 2007-11-05 14:02:41.000000000 +0100
+++ zip-2.31/fileio.c 2007-11-05 14:03:09.000000000 +0100
@@ -976,7 +976,7 @@ lfopen(const char *path, const char *mod
prev = mode[x];
}
- fd = open(path, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
+ fd = open(path, flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH );
if (fd == -1)
return NULL;