[git] GnuPG - branch, master, updated. gnupg-2.1.9-25-gc3bb9fc

by Neal H. Walfield cvs at cvs.gnupg.org
Tue Oct 20 12:18:35 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  c3bb9fccb7963a0918b9ec6a4f10d568fac7c125 (commit)
       via  d1a0b520b15bb941cdbf66c2e832c617af778ac8 (commit)
      from  4e42ad300b3de9fab25095a9e82431b1ea2740e7 (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 c3bb9fccb7963a0918b9ec6a4f10d568fac7c125
Author: Neal H. Walfield <neal at g10code.com>
Date:   Tue Oct 20 12:10:03 2015 +0200

    common: Make sure tilde expansion works for the mkdir functions.
    
    * common/mkdir_p.c (gnupg_amkdir_p): Use make_filename_try on the
    first directory component as well.
    
    --
    If there is only a single directory component, then tilde expansion
    won't be done.
    
    Signed-off-by: Neal H. Walfield <neal at g10code.com>

diff --git a/common/mkdir_p.c b/common/mkdir_p.c
index 2e93d65..37b44ec 100644
--- a/common/mkdir_p.c
+++ b/common/mkdir_p.c
@@ -60,7 +60,7 @@ gnupg_amkdir_p (const char **directory_components)
   for (i = 0; directory_components[i]; i ++)
     {
       if (i == 0)
-	dirs[i] = xtrystrdup (directory_components[i]);
+	dirs[i] = make_filename_try (directory_components[i], NULL);
       else
 	dirs[i] = make_filename_try (dirs[i-1], directory_components[i], NULL);
       if (!dirs[i])

commit d1a0b520b15bb941cdbf66c2e832c617af778ac8
Author: Neal H. Walfield <neal at g10code.com>
Date:   Tue Oct 20 10:21:40 2015 +0200

    gpg: Remove unused prototype digest_algo_from_sig.
    
    * g10/packet.h (digest_algo_from_sig): Remove prototype without a
    corresponding implementation.
    
    --
    Signed-off-by: Neal H. Walfield <neal at g10code.com>

diff --git a/g10/packet.h b/g10/packet.h
index 2bc911d..2fb5d7d 100644
--- a/g10/packet.h
+++ b/g10/packet.h
@@ -621,7 +621,6 @@ void free_notation(struct notation *notation);
 void free_symkey_enc( PKT_symkey_enc *enc );
 void free_pubkey_enc( PKT_pubkey_enc *enc );
 void free_seckey_enc( PKT_signature *enc );
-int  digest_algo_from_sig( PKT_signature *sig );
 void release_public_key_parts( PKT_public_key *pk );
 void free_public_key( PKT_public_key *key );
 void free_attributes(PKT_user_id *uid);

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

Summary of changes:
 common/mkdir_p.c | 2 +-
 g10/packet.h     | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)


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




More information about the Gnupg-commits mailing list