chiark / gitweb /
fishdescriptor: Fix a tuple bug in fd permutation
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 11 May 2018 15:59:05 +0000 (16:59 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 7 Jun 2018 16:28:49 +0000 (17:28 +0100)
commit086feb1679c895d85c9f0f533c5cf0806a52a6dc
tree4fc0ecd279474e2ce78fd843f36bcef6935da078
parent1f2904cd03a017c47353fd08090063bde565eca9
fishdescriptor: Fix a tuple bug in fd permutation

The fd permutation algorithm would fail in nontrivial cases because it
tries to update individual members of the tupes in the fdmap.  That is
not permitted in Python.  Make the tuples into lists.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
fishdescriptor/fishdescriptor