1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-07-04 03:08:57 +02:00
gnupg/kbx
Werner Koch 9526d4f721
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-10 09:57:10 +02:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
kbxutil.c Backport of the new option parser from 2.3 2020-12-04 12:12:20 +01:00
keybox-blob.c spelling: Fix "synchronize" 2019-06-23 20:17:47 -04:00
keybox-defs.h Replace most of the remaining stdio calls by estream calls. 2020-10-21 21:09:38 +02:00
keybox-dump.c Replace most of the remaining stdio calls by estream calls. 2020-10-21 21:09:38 +02:00
keybox-errors.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
keybox-file.c Replace most of the remaining stdio calls by estream calls. 2020-10-21 21:09:38 +02:00
keybox-init.c sm: On Windows close the kbx files at several places. 2021-03-02 19:01:07 +01:00
keybox-openpgp.c kbx: Better error message in case of a crippled Libgcrypt. 2020-12-02 11:11:47 +01:00
keybox-search-desc.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keybox-search.c kbx: Add extra flags to fopen for use by Windows. 2023-05-10 09:57:10 +02:00
keybox-update.c kbx: Add extra flags to fopen for use by Windows. 2023-05-10 09:57:10 +02:00
keybox-util.c kbx: Simplify by removing custom memory functions. 2017-12-22 12:55:46 +01:00
keybox.h sm: On Windows close the kbx files at several places. 2021-03-02 19:01:07 +01:00
Makefile.am build: Fix several "include file not found" problems 2021-11-14 18:18:41 +01:00
Manifest The keybox gets now compressed after 3 hours and ephemeral 2004-04-26 08:09:25 +00:00
mkerrors Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00