Remove redundant close() calls
authorMichel HERMIER <hermier@frugalware.org>
Fri, 9 Nov 2012 15:53:46 +0000 (15:53 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Fri, 9 Nov 2012 16:07:53 +0000 (16:07 +0000)
commitb8b3feb98646c8294c86f8391d243aaf3f8ac684
tree74dac4593de9c339317f402bb071b8e9aae0cee7
parent5847982adb42243993859d8814037ab00ce7ac7b
Remove redundant close() calls

The dup2() calls immediately afterwards will close the "destination" fd
if necessary.

[commit message added -smcv]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
dbus/dbus-sysdeps-unix.c