BIND 10 trac2831, updated. 52c3dae27c25e3aa3e32ae300013ddecec5ff190 [2831] Close remaining pipe fd after using it

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Apr 12 14:23:17 UTC 2013


The branch, trac2831 has been updated
       via  52c3dae27c25e3aa3e32ae300013ddecec5ff190 (commit)
      from  c936d8ec97816a35aafd54aa4c06fb8e5b5689eb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 52c3dae27c25e3aa3e32ae300013ddecec5ff190
Author: Mukund Sivaraman <muks at isc.org>
Date:   Fri Apr 12 19:53:04 2013 +0530

    [2831] Close remaining pipe fd after using it

-----------------------------------------------------------------------

Summary of changes:
 .../util/tests/memory_segment_mapped_unittest.cc   |    1 +
 1 file changed, 1 insertion(+)

-----------------------------------------------------------------------
diff --git a/src/lib/util/tests/memory_segment_mapped_unittest.cc b/src/lib/util/tests/memory_segment_mapped_unittest.cc
index 2244242..a94c853 100644
--- a/src/lib/util/tests/memory_segment_mapped_unittest.cc
+++ b/src/lib/util/tests/memory_segment_mapped_unittest.cc
@@ -411,6 +411,7 @@ TEST_F(MemorySegmentMappedTest, multiProcess) {
     // parent: wait for the completion of the child and checks the result.
     close(pipes[1]);
     EXPECT_EQ(0, parentReadState(pipes[0]));
+    close(pipes[0]);
 }
 
 TEST_F(MemorySegmentMappedTest, nullDeallocate) {



More information about the bind10-changes mailing list