mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-24 12:25:35 +08:00
Update.
* nscd/cache.c (prune_cache): The table might not be unused. In this case do nothing. message with the number/identifier.
This commit is contained in:
parent
96eaef3619
commit
9514f4e693
@ -1,10 +1,13 @@
|
||||
1999-04-15 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* nscd/cache.c (prune_cache): The table might not be unused. In
|
||||
this case do nothing.
|
||||
|
||||
* catgets/gencat.c (read_input_file): Don't drop white spaces
|
||||
between number/identifier and string.
|
||||
Patch by Dima Barsky <dima@pwd.hp.com>.
|
||||
If no white space at all follows number/identifier remove existing
|
||||
message with the number/ientifier.
|
||||
message with the number/identifier.
|
||||
|
||||
1999-04-14 H.J. Lu <hjl@gnu.org>
|
||||
|
||||
|
@ -129,6 +129,10 @@ prune_cache (struct database *table, time_t now)
|
||||
size_t first = cnt + 1;
|
||||
size_t last = 0;
|
||||
|
||||
/* If this table is not actually used don't do anything. */
|
||||
if (cnt == 0)
|
||||
return;
|
||||
|
||||
/* If we check for the modification of the underlying file we invalidate
|
||||
the entries also in this case. */
|
||||
if (table->check_file)
|
||||
|
Loading…
Reference in New Issue
Block a user