mirror of git://sourceware.org/git/glibc.git
parent
20febd6a63
commit
d372f89a4c
|
@ -1,5 +1,7 @@
|
||||||
2002-03-11 Ulrich Drepper <drepper@redhat.com>
|
2002-03-11 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* inet/rexec.c (ahostbuf): Define as static.
|
||||||
|
|
||||||
* wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden.
|
* wctype/wcfuncs.c (__ctype32_wctype): Declare as hidden.
|
||||||
(__ctype32_wctrans): Likewise.
|
(__ctype32_wctrans): Likewise.
|
||||||
* wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden.
|
* wcsmbs/wcwidth.h (__ctype32_width): Declare as hidden.
|
||||||
|
|
|
@ -45,7 +45,7 @@ static char sccsid[] = "@(#)rexec.c 8.1 (Berkeley) 6/4/93";
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
int rexecoptions;
|
int rexecoptions;
|
||||||
char ahostbuf[NI_MAXHOST];
|
static char ahostbuf[NI_MAXHOST];
|
||||||
|
|
||||||
int
|
int
|
||||||
rexec_af(ahost, rport, name, pass, cmd, fd2p, af)
|
rexec_af(ahost, rport, name, pass, cmd, fd2p, af)
|
||||||
|
@ -68,7 +68,7 @@ rexec_af(ahost, rport, name, pass, cmd, fd2p, af)
|
||||||
__snprintf(servbuff, sizeof(servbuff), "%d", ntohs(rport));
|
__snprintf(servbuff, sizeof(servbuff), "%d", ntohs(rport));
|
||||||
servbuff[sizeof(servbuff) - 1] = '\0';
|
servbuff[sizeof(servbuff) - 1] = '\0';
|
||||||
|
|
||||||
memset(&hints, 0, sizeof(hints));
|
memset(&hints, '\0', sizeof(hints));
|
||||||
hints.ai_family = af;
|
hints.ai_family = af;
|
||||||
hints.ai_socktype = SOCK_STREAM;
|
hints.ai_socktype = SOCK_STREAM;
|
||||||
hints.ai_flags = AI_CANONNAME;
|
hints.ai_flags = AI_CANONNAME;
|
||||||
|
|
Loading…
Reference in New Issue