mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
1999-06-24 Thorsten Kukuk <kukuk@suse.de> * nscd/grpcache.c: Add "notfound" data to cache, not iov pointer. * nscd/pwdcache.c: Likewise. * nscd/hstcache.c: Likewise.
This commit is contained in:
parent
d6a1bbed9b
commit
d0db5f488d
@ -1,3 +1,9 @@
|
|||||||
|
1999-06-24 Thorsten Kukuk <kukuk@suse.de>
|
||||||
|
|
||||||
|
* nscd/grpcache.c: Add "notfound" data to cache, not iov pointer.
|
||||||
|
* nscd/pwdcache.c: Likewise.
|
||||||
|
* nscd/hstcache.c: Likewise.
|
||||||
|
|
||||||
1999-06-23 Ulrich Drepper <drepper@cygnus.com>
|
1999-06-23 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* sysdeps/generic/fpu_control.c: Include math.h for __P definition.
|
* sysdeps/generic/fpu_control.c: Include math.h for __P definition.
|
||||||
|
@ -90,7 +90,7 @@ __END_DECLS
|
|||||||
This is broken in G++ before version 2.6.
|
This is broken in G++ before version 2.6.
|
||||||
C9x has a similar variable called __func__, but prefer the GCC one since
|
C9x has a similar variable called __func__, but prefer the GCC one since
|
||||||
it demangles C++ function names. */
|
it demangles C++ function names. */
|
||||||
# if __GNUC_PREREQ (2, (defined __cplusplus ? 6 : 4))
|
# if defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4)
|
||||||
# define __ASSERT_FUNCTION __PRETTY_FUNCTION__
|
# define __ASSERT_FUNCTION __PRETTY_FUNCTION__
|
||||||
# else
|
# else
|
||||||
# if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
|
# if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L
|
||||||
|
@ -105,7 +105,7 @@ cache_addgr (struct database *db, int fd, request_header *req, void *key,
|
|||||||
/* Now get the lock to safely insert the records. */
|
/* Now get the lock to safely insert the records. */
|
||||||
pthread_rwlock_rdlock (&db->lock);
|
pthread_rwlock_rdlock (&db->lock);
|
||||||
|
|
||||||
cache_add (req->type, copy, req->key_len, &iov_notfound,
|
cache_add (req->type, copy, req->key_len, ¬found,
|
||||||
sizeof (notfound), (void *) -1, 0, t, db, owner);
|
sizeof (notfound), (void *) -1, 0, t, db, owner);
|
||||||
|
|
||||||
pthread_rwlock_unlock (&db->lock);
|
pthread_rwlock_unlock (&db->lock);
|
||||||
|
@ -116,7 +116,7 @@ cache_addhst (struct database *db, int fd, request_header *req, void *key,
|
|||||||
/* Now get the lock to safely insert the records. */
|
/* Now get the lock to safely insert the records. */
|
||||||
pthread_rwlock_rdlock (&db->lock);
|
pthread_rwlock_rdlock (&db->lock);
|
||||||
|
|
||||||
cache_add (req->type, copy, req->key_len, &iov_notfound,
|
cache_add (req->type, copy, req->key_len, ¬found,
|
||||||
sizeof (notfound), (void *) -1, 0, t, db, owner);
|
sizeof (notfound), (void *) -1, 0, t, db, owner);
|
||||||
|
|
||||||
pthread_rwlock_unlock (&db->lock);
|
pthread_rwlock_unlock (&db->lock);
|
||||||
|
@ -112,7 +112,7 @@ cache_addpw (struct database *db, int fd, request_header *req, void *key,
|
|||||||
/* Now get the lock to safely insert the records. */
|
/* Now get the lock to safely insert the records. */
|
||||||
pthread_rwlock_rdlock (&db->lock);
|
pthread_rwlock_rdlock (&db->lock);
|
||||||
|
|
||||||
cache_add (req->type, copy, req->key_len, &iov_notfound,
|
cache_add (req->type, copy, req->key_len, ¬found,
|
||||||
sizeof (notfound), (void *) -1, 0, t, db, owner);
|
sizeof (notfound), (void *) -1, 0, t, db, owner);
|
||||||
|
|
||||||
pthread_rwlock_unlock (&db->lock);
|
pthread_rwlock_unlock (&db->lock);
|
||||||
|
Loading…
Reference in New Issue
Block a user