[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-1414-g43c766a

Jeremy Allison jra at samba.org
Mon Sep 7 13:57:15 MDT 2009

On Mon, Sep 07, 2009 at 03:26:34PM +0200, Volker Lendecke wrote:
> On Mon, Sep 07, 2009 at 07:25:47AM +0200, Stefan (metze) Metzmacher wrote:
> > I think we should have 2 functions then.
> > We need to use sys_recv() on sockets, otherwise our socket_wrapper pcap
> > support doesn't work.
> Why can't we also redirect read(2)?

Yes, that would seem to be the easier
solution. I'd rather not duplicate
read_fd_with_timeout() and have the
callers know what kind of fd they're
using. There's also the fact that
it is used via read_data() also,
which is used for all kinds of
fd's - not just sockets.


More information about the samba-technical mailing list