[git] GnuPG - branch, STABLE-BRANCH-1-4, updated. gnupg-1.4.19-8-gae38cbb

by NIIBE Yutaka cvs at cvs.gnupg.org
Tue Jun 16 05:03:05 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, STABLE-BRANCH-1-4 has been updated
       via  ae38cbbca493725305c4131fbcafa716ae0c6109 (commit)
      from  6f992d94ea708535b2f3a3de22b429401d59fac9 (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 ae38cbbca493725305c4131fbcafa716ae0c6109
Author: NIIBE Yutaka <gniibe at fsij.org>
Date:   Tue Jun 16 12:01:28 2015 +0900

    g10: Fix a race condition initially creating trustdb.
    
    * g10/tdbio.c (take_write_lock, tdbio_set_dbname): Fix message.

diff --git a/g10/tdbio.c b/g10/tdbio.c
index 579db63..be7cc1d 100644
--- a/g10/tdbio.c
+++ b/g10/tdbio.c
@@ -100,12 +100,12 @@ take_write_lock (void)
   if (!lockhandle)
     lockhandle = dotlock_create (db_name, 0);
   if (!lockhandle)
-    log_fatal ( _("can't create lock for '%s'\n"), db_name );
+    log_fatal ( _("can't create lock for `%s'\n"), db_name );
 
   if (!is_locked)
     {
       if (dotlock_take (lockhandle, -1) )
-        log_fatal ( _("can't lock '%s'\n"), db_name );
+        log_fatal ( _("can't lock `%s'\n"), db_name );
       else
         is_locked = 1;
       return 0;
@@ -517,7 +517,7 @@ tdbio_set_dbname( const char *new_dbname, int create, int *r_nofile)
 
     if( access( fname, R_OK ) ) {
         if( errno != ENOENT )
-            log_fatal( _("can't access '%s': %s\n"), fname, strerror(errno) );
+            log_fatal( _("can't access `%s': %s\n"), fname, strerror(errno) );
 
 	if (!create)
           *r_nofile = 1;

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

Summary of changes:
 g10/tdbio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


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




More information about the Gnupg-commits mailing list