Re: [PATCH] config.c: fix writing config files on Windows network shares
- From
Jeff King <peff@peff.net>
- Date
- Jun 30, 2015, 16:00 UTC
- Message-ID
- <20150630160014.GA3953@peff.net>
- In-Reply-To
- <5592A8E5.2090601@gmail.com>
On Tue, Jun 30, 2015 at 04:34:13PM +0200, Karsten Blees wrote:
Show 6 quoted lines
> Renaming to an existing file doesn't work on Windows network shares if the > target file is open. > > munmap() the old config file before commit_lock_file. > > Signed-off-by: Karsten Blees <blees@dcon.de>
Thanks for fixing this.
Acked-by: Jeff King <peff@peff.net>
-Peff