summaryrefslogtreecommitdiff
path: root/cmake/Modules/FindHTTP_Parser.cmake
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-04-04 14:40:38 +0200
committerCarlos Martin Nieto <cmn@dwim.me>2014-06-04 11:58:18 -0700
commite58281aaba90a79bbe3206b0e876c09839541c01 (patch)
tree2f2398d9c7d76351432a359d76715a68b0f0a858 /cmake/Modules/FindHTTP_Parser.cmake
parent90befde4a1938641dfdb9a7bdb9f361d1de5c26f (diff)
downloadlibgit2-cmn/filebuf-atomic-unlock.tar.gz
filebuf: make unlocking atomiccmn/filebuf-atomic-unlock
When renaming a lock file to its final location, we need to make sure that it is replaced atomically. We currently have a workaround for Windows by removing the target file. This means that the target file, which may be a ref or a packfile, may cease to exist for a short wile, which shold be avoided. Implement the workaround only in Windows, by making sure that the file we want to replace is writable.
Diffstat (limited to 'cmake/Modules/FindHTTP_Parser.cmake')
0 files changed, 0 insertions, 0 deletions