]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR testsuite/25728 (File descriptor leak in lib/gcov.exp)
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 12 Jan 2006 01:45:54 +0000 (01:45 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 12 Jan 2006 01:45:54 +0000 (17:45 -0800)
2006-01-11  H.J. Lu  <hongjiu.lu@intel.com>

PR testsuite/25728
* lib/gcov.exp (verify-lines): Add "close $fd".

From-SVN: r109632

gcc/testsuite/ChangeLog
gcc/testsuite/lib/gcov.exp

index b9ad99f9616daa894edc9ba10ddce0aae06f1015..442816dbc4b13b622f481107a3c6fd650bffa40d 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR testsuite/25728
+       * lib/gcov.exp (verify-lines): Add "close $fd".
+
 2005-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        PR testsuite/25214
index c4a5c8c90dfeb10c8d55be4b768b85801733f5d1..6b3ee7800fe961d572ebb9b22f3f69d8451aaa5c 100644 (file)
@@ -52,6 +52,7 @@ proc verify-lines { testcase file } {
            }
        }
     }
+    close $fd
     return $failed
 }