commit | 77a66310e3dd4e8fdbf671e7a46e02330031eaab | [log] [tgz] |
---|---|---|
author | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Mon Feb 17 22:44:52 2014 +0000 |
committer | tom <tom@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Mon Feb 17 22:44:52 2014 +0000 |
tree | 496d0439ffe37fe3fcb2cccb16f9da77fff11028 | |
parent | 09c6ed81d0ec2378263ae37c229baefa7f7f319c [diff] |
Use pclose instead of fclose to close pipes opened with popen, which also allows us to drop the loop that was supposed to give the child a chance to exit as the pclose will wait properly for the child. Fix from Ivo Raisr on BZ#331255 git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13813 a5019735-40e9-0310-863c-91ae7b9d1cf9