swrap: Improve dup2 to add the dup'd fd after the source fd
authorMichael Adam <obnox@samba.org>
Tue, 16 Aug 2016 09:04:12 +0000 (11:04 +0200)
committerAndreas Schneider <asn@samba.org>
Thu, 20 Oct 2016 08:50:33 +0000 (10:50 +0200)
commitd3d09e631aa7f9b5ffe88a786ad21e7e51aee909
treea11a1e8bcc8bc0a0401e9dd155454c9a469e497e
parentebe5f15854866c225febe73c952356873b958305
swrap: Improve dup2 to add the dup'd fd after the source fd

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/socket_wrapper.c