Skip to content

Commit

Permalink
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL.
Browse files Browse the repository at this point in the history
	* hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function.
	* sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of
	__hurd_dfail.
	* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
	* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise.
	* sysdeps/mach/hurd/send.c (__send): Likewise.
	* sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise.
	* sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise.
  • Loading branch information
Roland McGrath committed Jul 2, 2008
1 parent e66ecb2 commit 0a583b5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org>

* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL.
* hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function.
* sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of
__hurd_dfail.
* sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
* sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise.
* sysdeps/mach/hurd/send.c (__send): Likewise.
* sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise.
* sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise.

2008-06-27 Ulrich Drepper <drepper@redhat.com>

[BZ #6657]
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/mach/hurd/sendto.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ __sendto (int fd,
err;
}));

return err ? __hurd_dfail (fd, err) : wrote;
return err ? __hurd_sockfail (fd, flags, err) : wrote;
}

weak_alias (__sendto, sendto)

0 comments on commit 0a583b5

Please sign in to comment.