libpcp/logutil.c - negative_returns Original Coverity cases #90 and #100. http://people.redhat.com/mgoodwin/pcp-cov/1/90gutil.c.html#error and http://people.redhat.com/mgoodwin/pcp-cov/1/100gutil.c.html#error
libpcp/logutil.c - negative_returns
Original Coverity cases #90 and #100.
http://people.redhat.com/mgoodwin/pcp-cov/1/90gutil.c.html#error
and
http://people.redhat.com/mgoodwin/pcp-cov/1/100gutil.c.html#error

Check for fd (for temp file create) being negative.

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