Adam Jackson wrote:

> On Mon, 2012-02-27 at 22:22 +0100, Mark Kettenis wrote:
> 
>> That is of course a much better suggestion.  And it is possible to use
>> the same trick with gzdopen(3) to work around the fact that gzopen()
>> doesn't suppert "e", even on Linux systems.
> 
> diff -up zlib-1.2.5/gzlib.c.jx zlib-1.2.5/gzlib.c
> --- zlib-1.2.5/gzlib.c.jx     2010-04-18 13:53:22.000000000 -0400
> +++ zlib-1.2.5/gzlib.c        2012-02-27 16:43:13.991022599 -0500

[...]

> +          case 'e':
> +              want_cloexec = 1;
> +              break;

[...]

> There, fixed that for you.

... and for others

https://github.com/madler/zlib/commit/755c41dc4bcde575ae654065921206ab4efec962

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to