Undef lseek first
_InterlockedExchange expects a volatile LONG
git_pool_mallocsz takes an unsigned long
message: don't assume the comment char

The comment char is configurable and we need to provide a way for the
user to specify which comment char they chose for their message.
Fix warning on uninitialized variable.
Merge pull request #2365 from kitbellew/fix-indexer-mmap

Fix warning on uninitialized variable.
Merge pull request #2303 from jacquesg/mingw-lseek

WIP: Windows fixes
Merge pull request #2364 from libgit2/cmn/comment-char

message: don't assume the comment char
clone: add failing test for a mirror-clone with clone_into

Show a failure to perform a mirror-clone from a repository, both local
and remote.
clone: duplicate the remote

Instead of changing the user-provided remote, duplicate it so we can add
the extra refspec without having to worry about unsetting it before
returning.
clone: don't error out if the branch already exists

We set up the current branch after we fetch from the remote. This means
that the user's refspec may have already created this reference. It is
therefore not an error if we cannot create the branch because it already
exists.

This allows for the user to replicate git-clone's --mirror option.
Merge pull request #2354 from libgit2/cmn/clone-into-mirror

Allow mirror-clone via `git_clone_into()`
Restore attributions for fnmatch
Merge pull request #2371 from martinwoodward/attrib_fnmatch

Restore attributions for fnmatch
Fix compiler warning (git_off_t cast to size_t).

Use size_t for page size, instead of long. Check result of sysconf.
Use size_t for page offset so no cast to size_t (second arg to p_mmap).
Use mod instead div/mult pair, so no cast to size_t is necessary.