Merge branch 'js/win32-mmap' into HEAD
commitf12fffd347ac1efc11381dfdce5aa4108731742d
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 May 2016 21:40:06 +0000 (18 14:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 May 2016 21:40:06 +0000 (18 14:40 -0700)
treef4e31ff094c46c6b82a5ed8f67f039e7b13467c9
parentc555e529ac1d29ed98229698d38f77ebb684a017
parentd5425d10ca68a297061f87f4460dd7e0b32b39a6
Merge branch 'js/win32-mmap' into HEAD

mmap emulation on Windows has been optimized and work better without
consuming paging store when not needed.

* js/win32-mmap:
  mmap(win32): avoid expensive fstat() call
  mmap(win32): avoid copy-on-write when it is unnecessary
  win32mmap: set errno appropriately