|
From: <sv...@va...> - 2006-03-24 16:48:26
|
Author: tom
Date: 2006-03-24 16:48:19 +0000 (Fri, 24 Mar 2006)
New Revision: 5789
Log:
Handle msg_flags correctly - for recvmsg this field is written by the
kernel not read.
Modified:
trunk/coregrind/m_syswrap/syswrap-generic.c
Modified: trunk/coregrind/m_syswrap/syswrap-generic.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_syswrap/syswrap-generic.c 2006-03-22 11:18:50 UTC (=
rev 5788)
+++ trunk/coregrind/m_syswrap/syswrap-generic.c 2006-03-24 16:48:19 UTC (=
rev 5789)
@@ -752,7 +752,7 @@
foreach_func ( tid, True, "(msg)", (Addr)&msg->msg_iovlen, sizeof( ms=
g->msg_iovlen ) );
foreach_func ( tid, True, "(msg)", (Addr)&msg->msg_control, sizeof( m=
sg->msg_control ) );
foreach_func ( tid, True, "(msg)", (Addr)&msg->msg_controllen, sizeof=
( msg->msg_controllen ) );
- foreach_func ( tid, True, "(msg)", (Addr)&msg->msg_flags, sizeof( msg=
->msg_flags ) );
+ foreach_func ( tid, False, "(msg)", (Addr)&msg->msg_flags, sizeof( ms=
g->msg_flags ) );
=20
if ( msg->msg_name )
foreach_func ( tid, False,
@@ -769,7 +769,7 @@
=20
for ( i =3D 0; i < msg->msg_iovlen; ++i, ++iov )
foreach_func ( tid, False,
- "(msg.msg_iov[i]",=20
+ "(msg.msg_iov[i])",=20
(Addr)iov->iov_base, iov->iov_len );
}
=20
|