This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/nscd nscd_helper.c
- From: roland at sourceware dot org
- To: glibc-cvs at sources dot redhat dot com
- Date: 18 Jul 2005 08:01:47 -0000
- Subject: libc/nscd nscd_helper.c
CVSROOT: /cvs/glibc
Module name: libc
Branch: glibc-2_3-branch
Changes by: roland@sources.redhat.com 2005-07-18 08:01:46
Modified files:
nscd : nscd_helper.c
Log message:
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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/nscd_helper.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.8.2.2&r2=1.8.2.3