rclone/lib
Nick Craig-Wood c4110780bf lib/file: fix SetSparse on Windows 7 which fixes downloads of files > 250MB
Before this change we passed both lpOverlapped and lpBytesReturned as NULL.

> If lpOverlapped is NULL, lpBytesReturned cannot be NULL. Even when
> an operation produces no output data, and lpOutBuffer can be NULL,
> the DeviceIoControl function makes use of the variable pointed to by
> lpBytesReturned. After such an operation, the value of the variable
> is without meaning.

After this change we set lpBytesReturned to a valid pointer.

See: https://forum.rclone.org/t/errors-when-downloading-any-file-over-250mb-from-google-drive-windows-sparse-files/16889
2020-06-06 13:13:15 +01:00
..
atexit doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
bucket doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
cache doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
dircache lib/dircache: add a way to dump the DirCache for debugging 2019-08-22 11:57:35 +01:00
encoder doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
env backends: make sure backends expand ~ and environment vars in file names they use 2020-06-03 17:39:08 +01:00
errors build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
file lib/file: fix SetSparse on Windows 7 which fixes downloads of files > 250MB 2020-06-06 13:13:15 +01:00
israce fs/asyncreader: skip some tests to work around race detector bug 2018-08-20 12:34:29 +01:00
jwtutil jwtutil: Fix error handling 2020-04-23 17:52:14 +01:00
mmap lib/mmap: library to do memory allocation with anonymous memory maps 2019-02-02 14:35:56 +00:00
oauthutil pcloud: fix initial config "Auth state doesn't match" message #4210 2020-05-26 11:27:01 +01:00
pacer doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
plugin lib: add plugin support 2019-09-29 11:05:10 +01:00
pool build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
random Review random string/password generation 2019-08-25 11:09:19 +01:00
readers doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
rest doc: fix typos throughout docs and code 2020-05-20 15:54:51 +01:00
terminal lib/terminal: factor from cmd/progress, swap Azure/go-ansiterm for mattn/go-colorable 2019-10-08 19:59:47 +01:00