OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_0-79-geff7fa4
Gerrit Code Review
gerrit@openafs.org
Fri, 18 Dec 2020 12:05:44 -0500
The following commit has been merged in the master branch:
commit eff7fa4b2eb9a3001dc18dca157ccbd5f19f89b6
Author: Andrew Deason <adeason@sinenomine.net>
Date: Mon Nov 2 13:16:41 2020 -0600
rx: Save errno in pthread rxi_Sendmsg
Currently, our pthread version of rxi_Sendmsg uses 'errno' in some
logic if sendmsg fails, but we do so after calling functions that
might alter errno (e.g. fflush).
To make sure we get the correct errno value, save the value of errno
right after sendmsg returns an error. Reorganize this function a bit
to help make the logic easier to follow.
Change-Id: I6bf284bd75edb5404bb6771bb99a9381b0f8654d
Reviewed-on: https://gerrit.openafs.org/14423
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/rx/rx_pthread.c | 44 ++++++++++++++++++++++----------------------
1 files changed, 22 insertions(+), 22 deletions(-)
--
OpenAFS Master Repository