mozilla-b2g/gaia — pull request #1946 by davidflanagan (2012-06-26 15:58:11+00:00)
Title: close files after use, resolves #1941

make profile was failing when there were too many files being installed into the offline cache. The problem was apparently that streams weren't being closed.

@vingtetun: would you review and land?