[svk-devel] PATCH: avoid read-only commit message files on Win32
David Golden
xdaveg at gmail.com
Mon Aug 6 10:29:16 EDT 2007
It always annoyed me that "svk ci" popped up gvim in read-only mode on
Win32. Today I decided to chase that down. Closing this open handle
fixes it.
--- Util.pm.orig Mon Aug 06 10:21:09 2007
+++ Util.pm Mon Aug 06 10:21:45 2007
@@ -277,6 +277,7 @@
open $fh, $file or die $!;
local $/;
$content = <$fh>;
+ close $fh;
}
my $time = time;
More information about the svk-devel
mailing list