diff options
author | Jakub Jelinek <jakub@redhat.com> | 2006-01-06 21:55:58 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2006-01-06 21:55:58 +0000 |
commit | 8c45a85e617c71cf0279c4118d3811018626b45e (patch) | |
tree | 3fb19ed3bee25ce0505cf576057b8308f8c4bc06 /nscd/aicache.c | |
parent | dd486f53ee367e1667c61ec1fffdb59f9a8130e9 (diff) | |
download | glibc-8c45a85e617c71cf0279c4118d3811018626b45e.tar.gz glibc-8c45a85e617c71cf0279c4118d3811018626b45e.tar.xz glibc-8c45a85e617c71cf0279c4118d3811018626b45e.zip |
Updated to fedora-glibc-20060106T2148
Diffstat (limited to 'nscd/aicache.c')
-rw-r--r-- | nscd/aicache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/aicache.c b/nscd/aicache.c index 6f24daabec..4640b4df94 100644 --- a/nscd/aicache.c +++ b/nscd/aicache.c @@ -1,5 +1,5 @@ /* Cache handling for host lookup. - Copyright (C) 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2004. @@ -368,7 +368,7 @@ addhstaiX (struct database_dyn *db, int fd, request_header *req, assert (fd != -1); #ifdef HAVE_SENDFILE - if (__builtin_expect (db->mmap_used, 1)) + if (__builtin_expect (db->mmap_used, 1) && !alloca_used) { assert (db->wr_fd != -1); assert ((char *) &dataset->resp > (char *) db->data); |