comparison mercurial/osutil.c @ 13400:14f3795a5ed7

explicitly close files Add missing calls to close() to many places where files are opened. Relying on reference counting to catch them soon-ish is not portable and fails in environments with a proper GC, such as PyPy.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 24 Dec 2010 15:23:01 +0100
parents a4e0908ce35b
children 16118b4859a1
comparison
equal deleted inserted replaced
13399:eff102facb15 13400:14f3795a5ed7