summaryrefslogtreecommitdiff
path: root/gitweb/README
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-04-22 16:31:32 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-04-22 15:01:16 -0700
commitd5425d10ca68a297061f87f4460dd7e0b32b39a6 (patch)
treefb764715cbda50406df7e55dc86100a8aca47266 /gitweb/README
parentmmap(win32): avoid copy-on-write when it is unnecessary (diff)
downloadtgif-d5425d10ca68a297061f87f4460dd7e0b32b39a6.tar.xz
mmap(win32): avoid expensive fstat() call
On Windows, we have to emulate the fstat() call to fill out information that takes extra effort to obtain, such as the file permissions/type. If all we want is the file size, we can use the much cheaper GetFileSizeEx() function (available since Windows XP). Suggested by Philip Kelley. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/README')
0 files changed, 0 insertions, 0 deletions