substitute-binary: Adjust timeout handling for Guile > 2.0.9.
commitc509bf8c87140ccb4d5f0709c4de8905819b90ad
authorLudovic Courtès <ludo@gnu.org>
Thu, 14 Nov 2013 00:09:07 +0000 (14 01:09 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 14 Nov 2013 00:09:07 +0000 (14 01:09 +0100)
treef38a79ca66188f76ba3bf5ed9c9198505c261047
parenta716e36de915a275e4eab42b73cf0a2affc4aa33
substitute-binary: Adjust timeout handling for Guile > 2.0.9.

* guix/scripts/substitute-binary.scm (with-timeout): Update comment to
  mention the fix's commit ID.
  (fetch): In the 'with-timeout' handler, close PORT only one Guile
  versions < 2.0.9.39.  Before that, on Guile >= 2.0.9.39, the HTTP
  client would end up trying to read from a closed file descriptor.
guix/scripts/substitute-binary.scm