aboutsummaryrefslogtreecommitdiff
path: root/srfi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-11-19 23:02:29 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-19 23:09:01 +0100
commit85f4f7b79040d982c6a655c898b4cd00d868fa9c (patch)
tree4cc7fa226e57fed5f4269f0eb8e3d61af7d2c7a0 /srfi
parent52d174d6d116d75c71ddf0aa448b05f58637e9df (diff)
downloadpatches-85f4f7b79040d982c6a655c898b4cd00d868fa9c.tar
patches-85f4f7b79040d982c6a655c898b4cd00d868fa9c.tar.gz
zlib: Fix race condition when closing gzip ports.
Fixes <https://bugs.gnu.org/29335>. * guix/zlib.scm (close-procedure): Remove. (make-gzip-input-port): Do (dup (fileno port)) to get a file descriptor for 'gzdopen'. Close PORT before returning. Use 'gzclose' as the 'close' procedure of the returned port. (make-gzip-output-port): Likewise.
Diffstat (limited to 'srfi')
0 files changed, 0 insertions, 0 deletions