]> git.ipfire.org Git - thirdparty/glibc.git/commit
2005-07-13 Ulrich Drepper <drepper@redhat.com>
authorRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 08:01:46 +0000 (08:01 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 08:01:46 +0000 (08:01 +0000)
commit21038157e45f37d493c98fc886f3d2b16b74207b
tree5ebdca1cc98126dddda8d9b2b5338295463d4590
parentbda80d2dd6f611e69fbc2a3ca0228b170ae46912
2005-07-13  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd_helper.c: Add a few __builtin_expect.
[BZ #1080]
* nscd/connections.c (send_ro_fd): Make sure BUF is aligned correctly.
* nscd/nscd_helper.c (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