[swrap] [PATCH] treat newfd correctly in dup2()

Anoop C S anoopcs at redhat.com
Tue Aug 23 10:57:58 UTC 2016


On Tue, 2016-08-23 at 15:44 +0530, Anoop C S wrote:
> On Tue, 2016-08-23 at 11:44 +0200, Michael Adam wrote:
> > 
> > Hi,
> > 
> > attached find a patch that fixes our treatment of 'newfd'
> > in swrap_dup2() that Metze and I wrote.
> > 
> > Anoop has written a test case for that (it fails without
> > the swrap patch). Thanks!
> > 
> 
> Attaching the test case..
> 

Please ignore the above test case patch. It has been already attached
with Michael's first patch set.

> As Michael said above, we could confirm the same by running the test
> case without the fix(which should fail).
> 
> > 
> > Review / push appreciated!
> > 
> > Michael



More information about the samba-technical mailing list