pwrite: Work around HP-UX 11.11 bug.
authorBruno Haible <bruno@clisp.org>
Sat, 1 Jan 2011 01:25:00 +0000 (02:25 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 1 Jan 2011 01:25:00 +0000 (02:25 +0100)
commit872abb203f6a4ddde61e37912d97e622b89a2f7a
treebc573fca1bafa124c032881046249743a45937a7
parente86df7d62b265b41297f1afb0795efab89a5884e
pwrite: Work around HP-UX 11.11 bug.

* m4/pwrite.m4 (gl_FUNC_PWRITE): When pwrite exists, test whether it
works and set REPLACE_PWRITE if not.
* lib/pwrite.c (pwrite): Add an implementation that uses the system
function.
* doc/posix-functions/pwrite.texi: Document the HP-UX 11 bug.
ChangeLog
doc/posix-functions/pwrite.texi
lib/pwrite.c
m4/pwrite.m4