mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
Update.
* inet/rcmd.c (rcmd_af): __ss_family is now ss_family. (rresvport_af): Likewise.
This commit is contained in:
parent
6f0ea37903
commit
d1ce5f2a8c
@ -17,6 +17,8 @@
|
||||
* sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file.
|
||||
* sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file.
|
||||
* sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
|
||||
* inet/rcmd.c (rcmd_af): __ss_family is now ss_family.
|
||||
(rresvport_af): Likewise.
|
||||
|
||||
* conform/data/sys/shm.h-data: SHMLBA is not required to by a constant.
|
||||
* conform/conformtest.pl: Implement handling of symbol.
|
||||
|
@ -235,7 +235,7 @@ rcmd_af(ahost, rport, locuser, remuser, cmd, fd2p, af)
|
||||
goto bad;
|
||||
}
|
||||
s3 = accept(s2, (struct sockaddr *)&from, &len);
|
||||
switch (from.__ss_family) {
|
||||
switch (from.ss_family) {
|
||||
case AF_INET:
|
||||
rport = ntohs(((struct sockaddr_in *)&from)->sin_port);
|
||||
break;
|
||||
@ -335,7 +335,7 @@ rresvport_af(alport, family)
|
||||
#ifdef SALEN
|
||||
ss.__ss_len = len;
|
||||
#endif
|
||||
ss.__ss_family = family;
|
||||
ss.ss_family = family;
|
||||
|
||||
for (;;) {
|
||||
*sport = htons((uint16_t) *alport);
|
||||
|
Loading…
Reference in New Issue
Block a user