commit | f9bbfb577233bce7bb9a0ab7ec842074ce59e6e7 | [log] [tgz] |
---|---|---|
author | Ying Wang <wangying@google.com> | Mon Dec 13 16:25:36 2010 -0800 |
committer | Ying Wang <wangying@google.com> | Mon Dec 13 16:25:36 2010 -0800 |
tree | ff3f297231ff945b9c6eac255654ccee8750bef1 | |
parent | 2fd81cf11e3ebc8550f6ceee9328c5cb021b9619 [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: Ife021382198642a97bbbf0b623e4f24f3d86b2b2