Bug 1094 - fix age calculation in nscd cache pruning
Summary: fix age calculation in nscd cache pruning
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.3.5
: P2 normal
Target Milestone: ---
Assignee: Roland McGrath
URL:
Keywords:
Depends on:
Blocks: libc236
  Show dependency treegraph
 
Reported: 2005-07-18 02:49 UTC by Roland McGrath
Modified: 2005-07-19 03:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland McGrath 2005-07-18 02:49:39 UTC
This trunk patch should go into the 2.3 branch:

2005-04-27  Ulrich Drepper  <drepper@redhat.com>

	* nscd/connections.c (nscd_run): Use time() value in prune_cache
	call, not timeout value, since the latter might be from another clock.
Comment 1 Sourceware Commits 2005-07-18 02:50:19 UTC
Subject: Bug 1094

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-07-18 02:50:16

Modified files:
	nscd           : connections.c 

Log message:
	2005-04-27  Ulrich Drepper  <drepper@redhat.com>
	
	[BZ #1094]
	* nscd/connections.c (nscd_run): Use time() value in prune_cache
	call, not timeout value, since the latter might be from another clock.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nscd/connections.c.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.64.2.1&r2=1.64.2.2

Comment 2 Roland McGrath 2005-07-19 03:30:10 UTC
This fix is now in the 2.3 branch as well as the trunk, and the problem should
be resolved as of the 2.3.6 release.