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 "GNU Mailutils".

http://git.savannah.gnu.org/cgit/mailutils.git/commit/?id=c7fb4a0f593a9d79c2fee327441f2905d887f334

The branch, master has been updated
       via  c7fb4a0f593a9d79c2fee327441f2905d887f334 (commit)
      from  e0222cd50d0970eed9e93dccac98477b55078e5f (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 c7fb4a0f593a9d79c2fee327441f2905d887f334
Author: Sergey Poznyakoff <g...@gnu.org.ua>
Date:   Sat Nov 12 10:48:10 2011 +0200

    Minor change
    
    * mu/dbm.c (add_records): Set DBM meta-data after populating it with
    data.

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

Summary of changes:
 mu/dbm.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mu/dbm.c b/mu/dbm.c
index 5568bf4..ee217ca 100644
--- a/mu/dbm.c
+++ b/mu/dbm.c
@@ -1252,8 +1252,6 @@ add_records (int mode, int replace)
   
   /* Open the database */
   db = open_db_file (mode);
-  if (known_meta_data)
-    set_db_ownership (db);
   
   /* Read and store the actual data */
   if (rc == 0 && input_length (&input) > 0)
@@ -1282,6 +1280,8 @@ add_records (int mode, int replace)
   mu_stream_ioctl (mu_strerr, MU_IOCTL_LOGSTREAM, MU_IOCTL_LOGSTREAM_SET_LOCUS,
                   &save_locus);
   
+  if (known_meta_data)
+    set_db_ownership (db);
   mu_dbm_destroy (&db);
   mu_stream_unref (instream);
 }


hooks/post-receive
-- 
GNU Mailutils

_______________________________________________
Commit-mailutils mailing list
Commit-mailutils@gnu.org
https://lists.gnu.org/mailman/listinfo/commit-mailutils

Reply via email to