Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 227783 Details for
Bug 294470
[PATCH] sys-libs/glibc-2.11: SOCK_CLOEXEC and SOCK_NONBLOCK definitions incorrect on hppa
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
2. patch to add missing pieces to bits/socket.h on alpha
0002-Really-commit-intended-version-of-Alpha-bits-socket..patch (text/plain), 2.46 KB, created by
Matt Turner
on 2010-04-14 17:39:20 UTC
(
hide
)
Description:
2. patch to add missing pieces to bits/socket.h on alpha
Filename:
MIME Type:
Creator:
Matt Turner
Created:
2010-04-14 17:39:20 UTC
Size:
2.46 KB
patch
obsolete
>From b6c131119cff4a2a11f1766132f306464d9457da Mon Sep 17 00:00:00 2001 >From: Joseph Myers <joseph@codesourcery.com> >Date: Tue, 23 Mar 2010 15:25:31 +0000 >Subject: [PATCH 2/2] Really commit intended version of Alpha bits/socket.h. > >--- > sysdeps/unix/sysv/linux/alpha/bits/socket.h | 30 +++++++++++++++++++++++--- > 1 files changed, 26 insertions(+), 4 deletions(-) > >diff --git a/sysdeps/unix/sysv/linux/alpha/bits/socket.h b/sysdeps/unix/sysv/linux/alpha/bits/socket.h >index 52a22c3..dedf8bc 100644 >--- a/sysdeps/unix/sysv/linux/alpha/bits/socket.h >+++ b/sysdeps/unix/sysv/linux/alpha/bits/socket.h >@@ -1,5 +1,5 @@ > /* System-specific socket constants and types. Linux version. >- Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009 >+ Copyright (C) 1991, 1992, 1994-2001, 2004, 2006, 2007, 2008, 2009, 2010 > Free Software Foundation, Inc. > This file is part of the GNU C Library. > >@@ -65,7 +65,6 @@ enum __socket_type > SOCK_CLOEXEC = 010000000, /* Atomically set close-on-exec flag for the > new descriptor(s). */ > #define SOCK_CLOEXEC SOCK_CLOEXEC >-#undef SOCK_NONBLOCK > SOCK_NONBLOCK = 0x40000000 /* Atomically mark descriptor(s) as > non-blocking. */ > #define SOCK_NONBLOCK SOCK_NONBLOCK >@@ -235,8 +234,8 @@ enum > #define MSG_MORE MSG_MORE > > MSG_CMSG_CLOEXEC = 0x40000000 /* Set close_on_exit for file >- descriptor received through >- SCM_RIGHTS. */ >+ descriptor received through >+ SCM_RIGHTS. */ > #define MSG_CMSG_CLOEXEC MSG_CMSG_CLOEXEC > }; > >@@ -260,6 +259,15 @@ struct msghdr > int msg_flags; /* Flags on received message. */ > }; > >+#ifdef __USE_GNU >+/* For `recvmmsg'. */ >+struct mmsghdr >+ { >+ struct msghdr msg_hdr; /* Actual message header. */ >+ unsigned int msg_len; /* Number of received bytes for the entry. */ >+ }; >+#endif >+ > /* Structure used for storage of ancillary data object information. */ > struct cmsghdr > { >@@ -404,4 +412,18 @@ struct linger > int l_linger; /* Time to linger. */ > }; > >+ >+__BEGIN_DECLS >+ >+/* Receive a message as described by MESSAGE from socket FD. >+ Returns the number of bytes read or -1 for errors. >+ >+ This function is a cancellation point and therefore not marked with >+ __THROW. */ >+extern int recvmmsg (int __fd, struct mmsghdr *__vmessages, >+ unsigned int __vlen, int __flags, >+ __const struct timespec *__tmo); >+ >+__END_DECLS >+ > #endif /* bits/socket.h */ >-- >1.6.4.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 294470
:
227781
| 227783 |
227785