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

Anoop C S anoopcs at redhat.com
Tue Aug 23 10:14:00 UTC 2016

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..

As Michael said above, we could confirm the same by running the test
case without the fix(which should fail).

> Review / push appreciated!
> Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-swrap-Add-test-case-to-validate-oldfd-newfd-case-in-.patch
Type: text/x-patch
Size: 1883 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160823/eddaca18/0001-swrap-Add-test-case-to-validate-oldfd-newfd-case-in--0001.bin>

More information about the samba-technical mailing list