commit | 7e6d4e45d92fd51f42812ae63ac6e532887bfe0a | [log] [tgz] |
---|---|---|
author | Ying Wang <wangying@google.com> | Mon Dec 13 16:25:36 2010 -0800 |
committer | Ying Wang <wangying@google.com> | Thu Feb 10 11:36:43 2011 -0800 |
tree | 74e305fd1282454dc82c707ae3e78c45a1940536 | |
parent | 4a2ecaf5dc7434dd06a1fbcf14c56e6a7c7b383b [diff] |
Close inherited PIPE before doing work Gmake in Darwin has file descriptor leak. In a full build, ota_from_target_files will inherits more than 2000 open PIPEs from gmake and fails in a call to select.select(). This change fixes the build by closing the PIPEs before doing real work. Change-Id: Ie7035d7add0b1da3afb6bf9c2009d40f8c7d29b3