OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-57-ge3b9f54
Gerrit Code Review
gerrit@openafs.org
Tue, 26 Oct 2010 17:26:56 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit e3b9f54fea9ea3b7b4e5a8f20e1987f76c7db122
Author: Rainer Toebbicke <rtb@pclella.cern.ch>
Date: Wed Jul 14 17:02:16 2010 -0400
Calculate midnight (for volume stats) based on standard functions
The "tz" structure used with gettimeofday is not blessed by common
standards and not widely supported, on Solaris for example it does not
return anything useful.
Calculate midnight based on standard functions (localtime/mktime).
localtime_r does not exist on Windows.
Reviewed-on: http://gerrit.openafs.org/849
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry-picked from commit b98ca30c160c85834b1ad63a9d806efdd2940e61)
(cherry-picked from commit b6b18f12315f648614823bafa016c422a3e0c6f7)
Change-Id: I8c9153315332f93cea2db00c8a560339f6b82b5f
Reviewed-on: http://gerrit.openafs.org/2431
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/vol/volume.c | 35 ++++++++++++++++++++++++++++-------
1 files changed, 28 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository