HP-UX IPF. Thanks to Dennis Handly of HP for reviewing the assembly code
and suggesting the use of the addp4 instruction to convert a 32-bit address
to a 64-bit one in 32-bit builds.
Modified files: configure configure.in _hpux.h
Added file: os_HPUX_ia64.s
_PR_POLL_WITH_SELECT. We could still call FD_SET if the osfd was larger
than FD_SETSIZE. Fixed the bug that _PR_POLL_WITH_SELECT was defined after
the system header files had been included. Need to define it on the
compile command line. Define _USE_BIG_FDS on HP-UX. Because that macro
increases the size of fd_set to about 7500 bytes and PR_Poll allocates 3
fd_sets on the stack, also increased the minimum thread stack size to 128KB
on HP-UX.
Modified Files: configure configure.in _hpux.h _osf1.h ptio.c
OSF1 and HP-UX report the POLLHUP event for a socket when the
shutdown(SHUT_WR) operation is called for the remote end, even though
the socket is still writeable. Use select(), instead of poll(), to
workaround this problem.
Modified files: _hpux.h, _osf1.h, ptio.c
and sendfile methods that I/O layers can use. _PR_EmulateAcceptRead
is superseded by PR_EmulateAcceptRead, and _PR_EmulateSendFile and
_PR_UnixSendFile are superseded by PR_EmulateSendFile. Deleted unused
function _PR_HPUXTransmitFile. The workaround for the OSF1 V4.0
MAP_PRIVATE bug is moved from _PR_UnixSendFile to _MD_CreateFileMap,
ifdef'd with the new macro OSF1V4_MAP_PRIVATE_BUG, which is defined
only on OSF1 V4.
Modified files: OSF1.mk, _hpux.h, pprio.h, primpl.h, priometh.c,
prsocket.c, unix.c, and ptio.c