Skip to contentSkip to conversation

asapi_07: fix data types

PATCH Applied Simon Xu 2 participants 2 messages Dec 5, 2013

lore
Share & tools
lore

Simon Xu

author
#0 lore raw

PATCH 1/1 asapi_07: fix data types

The test always fails because some data types are wrong.

---
 testcases/network/lib6/asapi_07.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
testcases/network/lib6/asapi_07.c +3 -3
index 2968cc8..f401725 100644
@@ -104,19 +104,19 @@ struct etent {
 	"sizeof(struct iovec *)"}}, {
 		"msghdr msg_iovlen", EXISTS, SOCKET_H, "msghdr",
 		    "msg_iovlen", NULL, {
-	"sizeof(struct iovec *)"}}, {
+	"sizeof(size_t)"}}, {
 		"msghdr msg_control", EXISTS, SOCKET_H, "msghdr",
 		    "msg_control", NULL, {
 	"sizeof(void *)"}}, {
 		"msghdr msg_controllen", EXISTS, SOCKET_H, "msghdr",
 		    "msg_controllen", NULL, {
-	"sizeof(socklen_t)"}}, {
+	"sizeof(size_t)"}}, {
 		"msghdr msg_flags", EXISTS, SOCKET_H, "msghdr",
 		    "msg_flags", NULL, {
 	"sizeof(int)"}}, {
 		"cmsghdr cmsg_len", EXISTS, SOCKET_H, "cmsghdr",
 		    "cmsg_len", NULL, {
-	"sizeof(socklen_t)"}}, {
+	"sizeof(size_t)"}}, {
 		"cmsghdr cmsg_level", EXISTS, SOCKET_H, "cmsghdr",
 		    "cmsg_level", NULL, {
 	"sizeof(int)"}}, {
Signature · 12 lines
1.8.4.2


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Applied
#1 lore raw
Quoted 6 lines · Simon Xu

The test always fails because some data types are wrong.

---
 testcases/network/lib6/asapi_07.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thank you.

Wanlong Gao

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base. Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list