OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-736-g11b2c6d
Gerrit Code Review
gerrit@openafs.org
Mon, 14 Feb 2011 21:57:17 -0800 (PST)
The following commit has been merged in the master branch:
commit 11b2c6d6fe4dbbf5a54ae1e08e979c35ab6b7fa0
Author: Andrew Deason <adeason@sinenomine.net>
Date: Mon Feb 14 13:53:11 2011 -0600
HPUX: Disable positional I/O
Some versions of HP-UX have the pread() and pwrite() functions, but
they behave in odd ways; most notably, ignoring the offset argument
when _FILE_OFFSET_BITS is defined to 64.
This is noted in recent gnulib documentation
<http://git.savannah.gnu.org/cgit/gnulib.git/tree/doc/posix-functions/pwrite.texi>,
and slightly less clear references to pread() being broken can be
found on the development mailing list for git itself.
It is not completely clear what specific HP-UX versions are affected
by this. An autoconf run-time test may also be insufficient, because
the same binaries should be usable on machines with broken and
non-broken pread() implementations. So, to be safe, disable positional
I/O on HP-UX unconditionally.
Change-Id: I09b8d9c441622c961d1df90fe27eeccaa948f5c4
Reviewed-on: http://gerrit.openafs.org/3949
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
acinclude.m4 | 39 +++++++++++++++++++++++----------------
1 files changed, 23 insertions(+), 16 deletions(-)
--
OpenAFS Master Repository