summaryrefslogtreecommitdiff
path: root/tests/diff/binary.c
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-05-14 19:12:48 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-05-17 01:39:43 +0200
commit0731a5b4db086eefac1a842e37526ef7bdbaa7de (patch)
tree8de449f06fae5e819e750ae7ae0f29cfe33574e6 /tests/diff/binary.c
parentf7310540ae888454f9ab69200cfcd8df07faf957 (diff)
downloadlibgit2-0731a5b4db086eefac1a842e37526ef7bdbaa7de.tar.gz
indexer: mmap fixes for Windowscmn/indexer-mmap
Windows has its own ftruncate() called _chsize_s(). p_mkstemp() is changed to use p_open() so we can make sure we open for writing; the addition of exclusive create is a good thing to do regardless, as we want a temporary path for ourselves. Lastly, MSVC doesn't quite know how to add two numbers if one of them is a void pointer, so let's alias it to unsigned char.C
Diffstat (limited to 'tests/diff/binary.c')
0 files changed, 0 insertions, 0 deletions