summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-03-21 15:41:17 +0100
committerWerner Koch <wk@gnupg.org>2024-03-21 15:47:43 +0100
commitfb3fe38d2831c29865b6e95b9319625a33875334 (patch)
treeecf23c41813ebbff88f795bfa4aeaea47c73e77e /doc
parentgpg: Make sure a DECRYPTION_OKAY is never issued for a bad OCB tag. (diff)
downloadgnupg2-fb3fe38d2831c29865b6e95b9319625a33875334.tar.xz
gnupg2-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 'doc')
-rw-r--r--doc/tools.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/tools.texi b/doc/tools.texi
index 26c4c5f3d..ae960bdc9 100644
--- a/doc/tools.texi
+++ b/doc/tools.texi
@@ -1151,7 +1151,8 @@ More fields may be added in future to the output.
Under Windows this file is used to install GnuPG as a portable
application. An empty file named @file{gpgconf.ctl} is expected in
- the same directory as the tool @file{gpgconf.exe}. The root of the
+ the same directory as the tool @file{gpgconf.exe} or the file must
+ have a keyword @code{portable} with the value true. The root of the
installation is then that directory; or, if @file{gpgconf.exe} has
been installed directly below a directory named @file{bin}, its parent
directory. You also need to make sure that the following directories