HomePhabricator

Windows: fix eina_file_map_new()

Authored by vtorri on Jun 25 2020, 7:44 AM.

Description

Windows: fix eina_file_map_new()

the offset passed to MapViewOfFile() must be a multiple of the granularity.

https://docs.microsoft.com/en-us/windows/win32/memory/creating-a-view-within-a-file is taken as basis for this patch

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Wander Lairson Costa <wander.lairson@gmail.com>
Differential Revision: https://phab.enlightenment.org/D12031

Details

Committed
stefan_schmidtJun 26 2020, 6:40 AM
Differential Revision
D12031: Windows: fix eina_file_map_new()
Parents
rEFL0e61c08c2b38: Fix eina file thread test on Windows
Branches
Unknown
Tags
Unknown