SHA256
3
0
forked from pool/zlib
zlib/zlib-ocloexec.patch
Stephan Kulow a152b35097 Accepting request 92513 from Base:System
- Do not include the codename in soversion. (forwarded request 92512 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/92513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zlib?expand=0&rev=42
2011-11-21 11:51:30 +00:00

11 lines
268 B
Diff

--- gzlib.c.orig
+++ gzlib.c
@@ -168,6 +168,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 | (