projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad66ae9
)
fix socket.h struct msghdr member types on powerpc
author
Rich Felker
<dalias@aerifal.cx>
Tue, 11 Mar 2014 21:21:38 +0000
(17:21 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 11 Mar 2014 21:21:38 +0000
(17:21 -0400)
these were incorrectly copied from the kernel, whose ABI matches the
POSIX requirements but with the wrong underlying types and wrong
signedness.
arch/powerpc/bits/socket.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/bits/socket.h
b/arch/powerpc/bits/socket.h
index ff9246a9e8d4eca41f6e957919f4c2d371e3c787..4ed04d368ea7870f8827e5b1537293e9dbe957dd 100644
(file)
--- a/
arch/powerpc/bits/socket.h
+++ b/
arch/powerpc/bits/socket.h
@@
-1,12
+1,12
@@
struct msghdr
{
void *msg_name;
-
in
t msg_namelen;
+
socklen_
t msg_namelen;
struct iovec *msg_iov;
-
unsigned long
msg_iovlen;
+
int
msg_iovlen;
void *msg_control;
-
unsigned long
msg_controllen;
-
unsigned
msg_flags;
+
socklen_t
msg_controllen;
+
int
msg_flags;
};
struct cmsghdr