aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/sendto.c
AgeCommit message (Collapse)Author
1995-12-26Mon Dec 25 20:56:39 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951228cvs/libc-951227cvs/libc-951226Roland McGrath
* 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.
1995-11-03Fri Nov 3 17:27:49 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>cvs/libc-951105cvs/libc-951104Roland McGrath
* sysdeps/mach/hurd/sendto.c: Don't pass BINDING arg to socket_create_address. * sysdeps/mach/hurd/connect.c: Likewise. * sysdeps/mach/hurd/bind.c: Likewise. * hurd/hurdprio.c (_hurd_priority_which_map): Pass threadwaits args to proc_getprocinfo. * sysdeps/mach/hurd/getpriority.c: Likewise. * hurd/hurdmsg.c (_S_msg_report_wait): New stub function.
1995-07-30(accept): If the protocol family can't tell us what an address means, just ↵Miles Bader
return a zero-length buffer instead.
1995-02-18initial importRoland McGrath