diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-10-28 00:45:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-10-28 00:45:40 +0000 |
commit | 0bb258e350ca7864a1db31cb89c4a82602ec3587 (patch) | |
tree | ca78f0d6f9a17f5c95dfcb50c3c87e0b0efcf227 /inet | |
parent | 9f6c1fc4947e0b6d007cff159166bc0373386c61 (diff) | |
download | glibc-0bb258e350ca7864a1db31cb89c4a82602ec3587.tar.gz |
Update.
* posix/regex.c (gettext): Use correct translation domain for glibc.
* argp/argp-parse.c: Use __dcgettext instead of dcgettext for glibc.
* argp/argp-help.c: Likewise.
* inet/getnameinfo.c (getnameinfo): Use __snprintf instead of snprintf.
* inet/rexec.c (rexec_af): Use __snprintf instead of snprintf.
* misc/regexp.c (__step): Use __regexec instead of regexec.
(__advance): Likewise.
* nss/digits_dots.c: Use __inet_aton instead of inet_aton.
* misc/daemon.c (daemon): Use __fork instead of fork.
Diffstat (limited to 'inet')
-rw-r--r-- | inet/getnameinfo.c | 10 | ||||
-rw-r--r-- | inet/rexec.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c index 0811f2775f..6beeba0a19 100644 --- a/inet/getnameinfo.c +++ b/inet/getnameinfo.c @@ -318,11 +318,11 @@ getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host, size_t scopelen; scopebuf[0] = SCOPE_DELIMITER; - scopelen = 1 + snprintf (scopeptr, - (scopebuf - + sizeof scopebuf - - scopeptr), - "%u", scopeid); + scopelen = 1 + __snprintf (scopeptr, + (scopebuf + + sizeof scopebuf + - scopeptr), + "%u", scopeid); real_hostlen = __strnlen (host, hostlen); if (real_hostlen + scopelen + 1 > hostlen) diff --git a/inet/rexec.c b/inet/rexec.c index 4eae8f79ee..30b7cca22c 100644 --- a/inet/rexec.c +++ b/inet/rexec.c @@ -65,7 +65,7 @@ rexec_af(ahost, rport, name, pass, cmd, fd2p, af) int gai; char servbuff[NI_MAXSERV]; - snprintf(servbuff, sizeof(servbuff), "%d", ntohs(rport)); + __snprintf(servbuff, sizeof(servbuff), "%d", ntohs(rport)); servbuff[sizeof(servbuff) - 1] = '\0'; memset(&hints, 0, sizeof(hints)); |