aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-sysutils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2024-03-21 14:41:17 +0000
committerWerner Koch <[email protected]>2024-03-21 14:47:43 +0000
commitfb3fe38d2831c29865b6e95b9319625a33875334 (patch)
treeecf23c41813ebbff88f795bfa4aeaea47c73e77e /common/t-sysutils.c
parentgpg: Make sure a DECRYPTION_OKAY is never issued for a bad OCB tag. (diff)
downloadgnupg-fb3fe38d2831c29865b6e95b9319625a33875334.tar.gz
gnupg-fb3fe38d2831c29865b6e95b9319625a33875334.zip
common: Use a common gpgconf.ctl parser for Unix and Windows.
* common/homedir.c (gpgconf_ctl): new struct. (string_is_true): New. (parse_gpgconf_ctl): New. Based on the former code in unix_rootdir. (check_portable_app): Use parse_gpgconf_ctl and the new struct. (unix_rootdir): Ditto. -- This is a unification of the gpgconf.ctl mechanism. For backward compatibility we need to keep the empty (or actually only comments) method as used formerly under Windows. Iff one really wants a portable application the new portable keyword should be used, though. Noet that the Windows portable stuff has not been tested for quite some time.
Diffstat (limited to 'common/t-sysutils.c')
0 files changed, 0 insertions, 0 deletions