util.c - fix fd leak
util.c - fix fd leak

After the Coverity changes and/or merge conflict resolution from the
dev to the pcp4 branches, and logreopen (used by __pmRotateLog() and
__pmOpenLog()) contained an fd leak from a dup() call.

This was causing the odd
	/etc/init.d/pcp start 2>&1 | tee somefile
hangs seen in QA.

edwardt/pcp,edwardt/pcp,mbaldessari/pcp,edwardt/pcp,prasincs/pcp,aeg-aeg/pcpfans,mbaldessari/pcp,tjanez/pcp,wuliming/pcp,adfernandes/pcp,adfernandes/pcp,prasincs/pcp,mbaldessari/pcp,wuliming/pcp,wuliming/pcp,aeg-aeg/pcpfans,tjanez/pcp,tjanez/pcp,wuliming/pcp,ryandoyle/pcp_original,edwardt/pcp,andyvand/cygpcpfans,tjanez/pcp,edwardt/pcp,prasincs/pcp,aeg-aeg/pcpfans,wuliming/pcp,adfernandes/pcp,wuliming/pcp,tjanez/pcp,mbaldessari/pcp,tjanez/pcp,andyvand/cygpcpfans,prasincs/pcp,ryandoyle/pcp_original,adfernandes/pcp,mbaldessari/pcp,ryandoyle/pcp_original,edwardt/pcp,wuliming/pcp,tjanez/pcp,andyvand/cygpcpfans,ryandoyle/pcp_original,andyvand/cygpcpfans,wuliming/pcp,andyvand/cygpcpfans,mbaldessari/pcp,edwardt/pcp,prasincs/pcp,aeg-aeg/pcpfans,ryandoyle/pcp_original,adfernandes/pcp,ryandoyle/pcp_original,andyvand/cygpcpfans,aeg-aeg/pcpfans,andyvand/cygpcpfans,ryandoyle/pcp_original,prasincs/pcp,adfernandes/pcp,aeg-aeg/pcpfans,ryandoyle/pcp_original,prasincs/pcp,adfernandes/pcp,andyvand/cygpcpfans,prasincs/pcp,adfernandes/pcp,aeg-aeg/pcpfans,tjanez/pcp,edwardt/pcp,aeg-aeg/pcpfans