]> git.sur5r.net Git - openldap/commit
Fix Windows I/O.
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 22 Jun 2013 21:01:30 +0000 (23:01 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 22 Jun 2013 21:01:30 +0000 (23:01 +0200)
commita5701cf2fe2b577488f4f9d2e616d5872e3c3e14
treecc5c0fc5077a508f53bfb40b1f37674f2e566294
parent3d4ba01e8b8fd37e8323369c345838cbd1522b51
Fix Windows I/O.

Don't put a 64-bit filesize in a 32-bit int before shifting
down.  Always pass &sizehi to SetFilePointer->maxsize, so
sizelo not is treated a signed distance.  Hide unused vars
when _WIN32.  Reinitialize OVERLAPPED before reuse.
libraries/liblmdb/mdb.c