mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-06 01:21:08 +00:00
nscd: Use 64 bit time_t on libc nscd routines (BZ# 29402)
Although the nscd module is built with 64 bit time_t, the routines
linked direct to libc.so need to use the internal symbols.
Reviewed-by: DJ Delorie <dj@redhat.com>
(cherry picked from commit fa4a192778
)
This commit is contained in:
parent
d910ba48f4
commit
01c0a0405c
1
NEWS
1
NEWS
@ -125,6 +125,7 @@ The following bugs are resolved with this release:
|
||||
[29213] libc: gconv_parseconfdir is not y2038 aware
|
||||
[29214] nptl: pthread_setcanceltype fails to set type
|
||||
[29305] Conserve NSS buffer space during DNS packet parsing
|
||||
[29402] nscd: nscd: No such file or directory
|
||||
[29415] nscd: Fix netlink cache invalidation if epoll is used
|
||||
[29446] _dlopen now ignores dl_caller argument in static mode
|
||||
[29490] alpha: New __brk_call implementation is broken
|
||||
|
@ -66,7 +66,7 @@ typedef enum
|
||||
struct traced_file
|
||||
{
|
||||
/* Tracks the last modified time of the traced file. */
|
||||
time_t mtime;
|
||||
__time64_t mtime;
|
||||
/* Support multiple registered files per database. */
|
||||
struct traced_file *next;
|
||||
int call_res_init;
|
||||
|
@ -113,7 +113,7 @@ __nscd_get_nl_timestamp (void)
|
||||
if (map == NULL
|
||||
|| (map != NO_MAPPING
|
||||
&& map->head->nscd_certainly_running == 0
|
||||
&& map->head->timestamp + MAPPING_TIMEOUT < time_now ()))
|
||||
&& map->head->timestamp + MAPPING_TIMEOUT < time64_now ()))
|
||||
map = __nscd_get_mapping (GETFDHST, "hosts", &__hst_map_handle.mapped);
|
||||
|
||||
if (map == NO_MAPPING)
|
||||
|
Loading…
Reference in New Issue
Block a user