This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/nscd hstcache.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 30 Oct 2007 00:46:36 -0000
- Subject: libc/nscd hstcache.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2007-10-30 00:46:36
Modified files:
nscd : hstcache.c
Log message:
(cache_addhst): Add ttl parameter. Use it when
determining timeout of entry.
(lookup): Take new parameter and pass it to __gethostbyname3_r and
__gethostbyaddr2_r.
(addhstbyX): Pass reference to variable for TTL to lookup and
cache_addhst.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nscd/hstcache.c.diff?cvsroot=glibc&r1=1.44&r2=1.45