v6: Close pointer file handles more quickly, to avoid problems on Windows.

Was using L.readFile, so the Handle would remain open until the garbage
collector got around to it. Changed to explicit open and close, so we know
it's always closed when the function returns.
This commit is contained in:
Joey Hess 2016-04-04 15:42:33 -04:00
parent cfe274e6f7
commit 2046502407
Failed to extract signature
4 changed files with 30 additions and 3 deletions

1
debian/changelog vendored
View file

@ -12,6 +12,7 @@ git-annex (6.20160319) UNRELEASED; urgency=medium
Thanks, Robie Basak
* log: Display time with time zone.
* log --raw-date: Use to display seconds from unix epoch.
* v6: Close pointer file handles more quickly, to avoid problems on Windows.
-- Joey Hess <id@joeyh.name> Wed, 23 Mar 2016 11:42:36 -0400