Fixes compiler warnings.
authorRobin Luckey <rluckey@blackducksoftware.com>
Fri, 21 Jan 2011 15:44:28 +0000 (07:44 -0800)
committerRobin Luckey <rluckey@blackducksoftware.com>
Fri, 21 Jan 2011 15:44:28 +0000 (07:44 -0800)
commitae5acfebe8670a5f076e06d881643992110896ce
tree24d2e2c17283a58ef294d65e224471c6bb1ccfe4
parentfdda0917274ac2cef2dd34ae5585446187314fb0
Fixes compiler warnings.

We were failing to check the return result on several system calls.

I've added the appropriate checks, with simple aborts in the case of
failure.
src/detector.c
src/diff.c
test/unit/detector_test.h