bitcoin/bitcoin — pull request #2584 by laanwj (2013-04-27 14:01:49+00:00)
Title: Prevent prevent file descriptor leak in ShrinkDebugFile()

Squashed version of #2528