mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Make use of the *_NAME etc macros.
Replace hardwired strings at many places with new macros from config.h and use the new strusage macro replacement feature. * common/asshelp.c (lock_spawning) [W32]: Change the names of the spawn sentinels. * agent/command.c (cmd_import_key): Use asprintf to create the prompt.
This commit is contained in:
parent
798daaa1dd
commit
cc9a0b69b6
48 changed files with 355 additions and 320 deletions
|
@ -108,7 +108,7 @@ my_strusage( int level )
|
|||
|
||||
switch (level)
|
||||
{
|
||||
case 11: p = "gpgv (GnuPG)";
|
||||
case 11: p = "@GPG@v (GnuPG)";
|
||||
break;
|
||||
case 13: p = VERSION; break;
|
||||
case 17: p = PRINTABLE_OS_NAME; break;
|
||||
|
@ -198,7 +198,7 @@ main( int argc, char **argv )
|
|||
|
||||
/* Note: We open all keyrings in read-only mode. */
|
||||
if (!nrings) /* No keyring given: use default one. */
|
||||
keydb_add_resource ("trustedkeys" EXTSEP_S "gpg",
|
||||
keydb_add_resource ("trustedkeys" EXTSEP_S GPGEXT_GPG,
|
||||
KEYDB_RESOURCE_FLAG_READONLY);
|
||||
for (sl = nrings; sl; sl = sl->next)
|
||||
keydb_add_resource (sl->d, KEYDB_RESOURCE_FLAG_READONLY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue