Fix unchecked return values
authorJeffrey Hutzelman <jhutz@cmu.edu>
Sun, 16 Jun 2013 19:28:03 +0000 (15:28 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Tue, 6 Jan 2015 16:41:57 +0000 (11:41 -0500)
commit720363fa9bf7cfbebdc485104b74ca6bac1895f6
treeeb5045c72c5f0214ebe06e8e6b299b3bd33f67f5
parent218561a5d920bb9bfaa668d3bdd11e1dfac1df9f
Fix unchecked return values

This change fixes numerous places where the return values of various
system calls and standard library routines are not checked.  In
particular, this fixes occurrances called out when building on Ubuntu
12.10, with gcc 4.7.2 and eglibc 2.15-0ubuntu20.1, when the possible
failure is one we actually do (or should) care about.  This change
does not consider calls where the failure is one we deliberately
choose to ignore.

Change-Id: Id526f5dd7ee48be2604b77a3f00ea1e51b08c21d
Reviewed-on: http://gerrit.openafs.org/9979
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
16 files changed:
src/auth/cellconfig.c
src/bozo/bosserver.c
src/budb/db_text.c
src/kauth/kkids.c
src/lwp/lwp.c
src/ptserver/pt_util.c
src/ptserver/ptubik.c
src/sys/rmtsysc.c
src/venus/test/fulltest.c
src/venus/up.c
src/viced/afsfileprocs.c
src/viced/state_analyzer.c
src/viced/viced.c
src/vlserver/cnvldb.c
src/vol/namei_ops.c
src/volser/restorevol.c