(wait_on_socket): New function.
authordrepper <drepper>
Wed, 13 Jul 2005 22:46:31 +0000 (22:46 +0000)
committerdrepper <drepper>
Wed, 13 Jul 2005 22:46:31 +0000 (22:46 +0000)
commit2b864bd54cf59b100e08e001412c67ee1f027653
tree085dfb478bdf88dbd36849e14058c5615419cf72
parent33ebd9b7981a5f6279d5be50fd84d6abdd6ac837
(wait_on_socket): New function.
(get_mapping): Use wait_on_socket instead of poll.  The former handles
EINTR of poll correctly.
(__nscd_open_socket): Likewise.
(get_mapping): Make sure BUF is aligned correctly.
(get_mapping): Use munmap on correct pointer.
nscd/nscd_helper.c