1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch 0f0ab04435
kbx: Add extra flags to fopen for use by Windows.
* kbx/keybox-search.c (open_file): Use sysopen and sequential.
* kbx/keybox-update.c (create_tmp_file): Ditto.
(blob_filecopy): Ditto.
(keybox_set_flags): Ditto.
(keybox_delete): Ditto.
(keybox_compress): Ditto.
--

Under Windows "sysopen" requests that direct API calls (CreateFile et
al.) are used instead of the libc wrappers.  This may or may not
improve the performance.

Using "sequential" is a hint to Windows to assume that a file is in
general access in a sequential manner.  This will have an affect only
with a future libgpg-error.
2023-05-04 11:55:26 +02:00
..
2020-09-24 16:38:21 +02:00
2022-09-14 16:53:35 +09:00
2023-05-04 11:47:01 +02:00
2021-05-20 14:45:29 +02:00
2018-10-24 15:56:18 -04:00
2023-05-04 11:47:01 +02:00
2022-12-09 14:06:08 +09:00
2018-10-25 16:53:05 -04:00