OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_6-21-g23709f0
Gerrit Code Review
gerrit@openafs.org
Wed, 12 Feb 2014 07:42:29 -0800 (PST)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 23709f03a38eca661529b745b185393a0a239835
Author: Benjamin Kaduk <kaduk@mit.edu>
Date: Thu Jan 9 23:34:30 2014 -0500
Disable some explicit sbrk() usage
Mac OS X 10.9 now considers this function deprecated and warns on
its use, causing the buildslave configuration to error out.
On master, we added a library routine to get a process's size to opr;
opr is not present on the 1.6 branch so another route is needed here.
Since use of the OS X malloc implementation appears to have no
effect on the result of sbrk(0), there is no loss of functionality
by replacing the function call with a (different) constant value.
There may still be some value in sbrk(0) on other systems, so
only disable sbrk() for OS X, on the stable branch.
This change is specific to the 1.6 branch.
Change-Id: Ie5f96e923b78be22a9ce83d0a35a7675d517b073
Reviewed-on: http://gerrit.openafs.org/10746
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/viced/afsfileprocs.c | 4 ++--
src/viced/viced.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
--
OpenAFS Master Repository