diff options
author | Roland McGrath <roland@gnu.org> | 1995-12-26 10:00:22 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-12-26 10:00:22 +0000 |
commit | be7e3b7e7ef0fb3d632002bda04d0ad0537ced8b (patch) | |
tree | ed3701064cddf156aed81b7799617ecc031f6e1c /ChangeLog | |
parent | e0f09b6b2a5a06ee90f962d79aad21274152d052 (diff) | |
download | glibc-be7e3b7e7ef0fb3d632002bda04d0ad0537ced8b.zip glibc-be7e3b7e7ef0fb3d632002bda04d0ad0537ced8b.tar.gz glibc-be7e3b7e7ef0fb3d632002bda04d0ad0537ced8b.tar.bz2 |
Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951228cvs/libc-951227cvs/libc-951226
* sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into
EADDRINUSE. If translated node doesn't grok ifsock protocol,
return EADDRINUSE.
* sysdeps/mach/hurd/connect.c: Make address arg
`const struct sockaddr_un *'.
The redecl is kosher and avoids another variable for AF_LOCAL case.
* sysdeps/mach/hurd/sendto.c: Likewise.
* sysdeps/mach/hurd/bind.c: Likewise.
* socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union
code for GCC >= 2.7; use __transparent_union__ for name safety;
add several sockaddr flavors.
(__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in
constructing the transparent union declarations.
(__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7).
(bind, connect, sendto): Make the sockaddr argument use that.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -1,3 +1,23 @@ +Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> + + * sysdeps/mach/hurd/bind.c: Translate EEXIST from dir_link into + EADDRINUSE. If translated node doesn't grok ifsock protocol, + return EADDRINUSE. + + * sysdeps/mach/hurd/connect.c: Make address arg + `const struct sockaddr_un *'. + The redecl is kosher and avoids another variable for AF_LOCAL case. + * sysdeps/mach/hurd/sendto.c: Likewise. + * sysdeps/mach/hurd/bind.c: Likewise. + + * socket/sys/socket.h (__SOCKADDR_ARG): Enable transparent_union + code for GCC >= 2.7; use __transparent_union__ for name safety; + add several sockaddr flavors. + (__SOCKADDR_ALLTYPES, __SOCKADDR_ONETYPE): New macros used in + constructing the transparent union declarations. + (__CONST_SOCKADDR_ARG): New type (or macro if not GCC 2.7). + (bind, connect, sendto): Make the sockaddr argument use that. + Fri Dec 22 00:57:38 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> * sysdeps/mach/hurd/setgid.c: In root case, store into NEWAUX, not |