diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-03-31 00:16:53 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-03-31 00:16:53 +0000 |
commit | a70e964ee0ec3827b4d24ed3fbff1b614b1a0269 (patch) | |
tree | 9483b75961175d2d5f7509d95519b931514a91b8 /ChangeLog | |
parent | e0dbb4810552c091065080cb61d631354040f826 (diff) | |
download | glibc-a70e964ee0ec3827b4d24ed3fbff1b614b1a0269.tar.gz glibc-a70e964ee0ec3827b4d24ed3fbff1b614b1a0269.tar.xz glibc-a70e964ee0ec3827b4d24ed3fbff1b614b1a0269.zip |
Update.
2004-03-30 Jakub Jelinek <jakub@redhat.com> * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol == NULL, try name/tcp and name/udp first before falling back into the sequential scanning. Use services.byname database for sequential scanning. (_nss_nis_getservbyport_r): Likewise. Just allocate sizeof (int) * 3 chars for integer. * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Convert proto to host by order for snprintf. * nss/getent.c (services_keys): Don't implement lookups with missing protocol using getservent loop, just pass NULL.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c2de3d5a9e..9ad8a51cfd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,20 @@ +2004-03-30 Jakub Jelinek <jakub@redhat.com> + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): If protocol + == NULL, try name/tcp and name/udp first before falling back into + the sequential scanning. Use services.byname database for + sequential scanning. + (_nss_nis_getservbyport_r): Likewise. Just allocate sizeof (int) * 3 + chars for integer. + + * nis/nss_nis/nis-service.c (_nss_nis_getservbyport_r): Convert + proto to host by order for snprintf. + 2004-03-30 Ulrich Drepper <drepper@redhat.com> + * nss/getent.c (services_keys): Don't implement lookups with + missing protocol using getservent loop, just pass NULL. + * sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid comparison with limit if we can rely on the syscall being available. |