[git] GnuPG - branch, master, updated. gnupg-2.1.9-26-geb8a0b0

by Neal H. Walfield cvs at cvs.gnupg.org
Tue Oct 20 13:21:32 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  eb8a0b051faa03584b3820200e10301936e82f51 (commit)
      from  c3bb9fccb7963a0918b9ec6a4f10d568fac7c125 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eb8a0b051faa03584b3820200e10301936e82f51
Author: Neal H. Walfield <neal at g10code.com>
Date:   Tue Oct 20 12:22:00 2015 +0200

    gpg: Make failing to create a directory a soft error.
    
    * g10/tofu.c (getdb): Don't exit if we can't create the directory.
    Just return an error.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>

diff --git a/g10/tofu.c b/g10/tofu.c
index a7f9e90..f97a3f7 100644
--- a/g10/tofu.c
+++ b/g10/tofu.c
@@ -574,7 +574,7 @@ getdb (struct db *dbs, const char *name, enum db_type type)
       {
 	log_error (_("unable to create directory %s/%s/%s/%s"),
 		   opt.homedir, "tofu.d", type_str, prefix);
-	g10_exit (1);
+        goto out;
       }
 
     name_db = xstrconcat (name_sanitized, ".db", NULL);

-----------------------------------------------------------------------

Summary of changes:
 g10/tofu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list