diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-12 20:06:44 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-12 20:06:44 +0000 |
commit | 9f835f5fb48eb6e173a7ca3c678595dba28c5e7a (patch) | |
tree | 34f261d68fe97fc358f706dc8883ecfdfd450caf /nss/getent.c | |
parent | 50a6564365575ba9d20a6cfde261ec5fcbb9ff35 (diff) | |
download | glibc-9f835f5fb48eb6e173a7ca3c678595dba28c5e7a.tar.gz |
Update.
2000-07-12 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_open.c (__gconv_open): Merge duplicated code.
2000-07-12 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_builtin.c (__gconv_get_builtin_trans): Initialize
__modname.
2000-07-12 Bruno Haible <haible@clisp.cons.org>
* iconv/gconv_open.c (__gconv_open): Initialize
result->__steps[cnt].__data.
2000-07-12 Mark Kettenis <kettenis@gnu.org>
* nss/getent.c (services_keys): Pass port number in network byte
order in call to getservbyport.
2000-07-11 Andreas Jaeger <aj@suse.de>
* stdlib/Makefile (test-canon-ARGS): Fix for building in the
source dir.
* intl/Makefile (do-gettext-test): Likewise.
* dirent/Makefile (opendir-tst1-ARGS): Likewise.
2000-07-11 Andreas Schwab <schwab@suse.de>
* Makeconfig (run-program-prefix): New rule.
(built-program-cmd): Use run-program-prefix.
Diffstat (limited to 'nss/getent.c')
-rw-r--r-- | nss/getent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/getent.c b/nss/getent.c index 02f2034efb..d3a9fde1e1 100644 --- a/nss/getent.c +++ b/nss/getent.c @@ -366,7 +366,7 @@ services_keys (int number, char *key[]) *proto++ = '\0'; if (isdigit (key[i][0])) - serv = getservbyport (atol (key[i]), proto); + serv = getservbyport (htons (atol (key[i])), proto); else serv = getservbyname (key[i], proto); |