]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Fix unchecked return values
authorJeffrey Hutzelman <jhutz@cmu.edu>
Sun, 16 Jun 2013 19:28:03 +0000 (15:28 -0400)
committerStephan Wiesand <stephan.wiesand@desy.de>
Thu, 2 Mar 2017 09:37:44 +0000 (04:37 -0500)
commit9bf43d5ce036fd0e3f0fa61a6e3cbae1c925cc28
treea565bf42b0b208ea2e6b1f048f3e8d881e37d0e2
parent34321f7528fccbf0e8b58cbd7ca22755723933c9
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.

Reviewed-on: http://gerrit.openafs.org/9979
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit 720363fa9bf7cfbebdc485104b74ca6bac1895f6)

Change-Id: I9e72a68a66d751139f7129b9b177ba18389c10a2
Reviewed-on: https://gerrit.openafs.org/12521
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Mark Vitale <mvitale@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
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/tviced/state_analyzer.c
src/venus/test/fulltest.c
src/venus/up.c
src/viced/afsfileprocs.c
src/viced/viced.c
src/vlserver/cnvldb.c
src/vol/namei_ops.c
src/volser/restorevol.c