11 lines
268 B
Diff
11 lines
268 B
Diff
|
--- gzlib.c.orig
|
||
|
+++ gzlib.c
|
||
|
@@ -167,6 +167,7 @@ local gzFile gz_open(path, fd, mode)
|
||
|
#ifdef O_BINARY
|
||
|
O_BINARY |
|
||
|
#endif
|
||
|
+ O_CLOEXEC |
|
||
|
(state->mode == GZ_READ ?
|
||
|
O_RDONLY :
|
||
|
(O_WRONLY | O_CREAT | (
|