[dovecot/core] 6aa6fd: lib-index: Minor code cleanup - use better variabl...

GitHub noreply at github.com
Fri Jun 3 17:00:17 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 6aa6fdaba3a289242881b941c4e59cfed854ba43
      https://github.com/dovecot/core/commit/6aa6fdaba3a289242881b941c4e59cfed854ba43
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-sync-ext.c

  Log Message:
  -----------
  lib-index: Minor code cleanup - use better variable names


  Commit: 8483af4fff28059fc8f9db695fce5f3a9adfaae0
      https://github.com/dovecot/core/commit/8483af4fff28059fc8f9db695fce5f3a9adfaae0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-sync-ext.c

  Log Message:
  -----------
  lib-index: Fixed changing extension record sizes.

map needs to be cloned before any extension record size changes are done.
Otherwise the map cloning will crash or do something broken.


  Commit: 765b5eec222d2546247e74cb9bcabd43633d2e4a
      https://github.com/dovecot/core/commit/765b5eec222d2546247e74cb9bcabd43633d2e4a
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-index/mail-index-transaction-update.c
    M src/lib-index/mail-index-util.c
    M src/lib-index/mail-index-util.h

  Log Message:
  -----------
  lib-index: Allow growing ext record_size after mail_index_update_ext()

The existing records will just get some zero-padding at the end of records.


  Commit: 042668c0cd5a7d35ce6373ae493695e8f12d3157
      https://github.com/dovecot/core/commit/042668c0cd5a7d35ce6373ae493695e8f12d3157
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-storage/index/maildir/maildir-uidlist.c

  Log Message:
  -----------
  maildir: Avoid extra memory usage on duplicate uidlist entries

Also fixes assert-crashing in hash_table_insert() when it happens.


  Commit: 32d69cb0794acf725c47e6d17145ec4eb0cd6e7f
      https://github.com/dovecot/core/commit/32d69cb0794acf725c47e6d17145ec4eb0cd6e7f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-storage/index/maildir/maildir-keywords.c

  Log Message:
  -----------
  maildir: Detect duplicate keywords in dovecot-keywords file

Use the first such keyword's index, not the last.

Also fixes assert-crashing in hash_table_insert() when it happens.


  Commit: 2a6c02a5e7e5cdf4980befbfaf372603ce338a25
      https://github.com/dovecot/core/commit/2a6c02a5e7e5cdf4980befbfaf372603ce338a25
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/lib-storage/mailbox-guid-cache.c

  Log Message:
  -----------
  lib-storage: Detect duplicate mailbox GUIDs in guid-cache.

Also fixes assert-crashing in hash_table_insert() when it happens.


  Commit: c224fff79d18480a65e9b4504b891b8ea176f5b1
      https://github.com/dovecot/core/commit/c224fff79d18480a65e9b4504b891b8ea176f5b1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/doveadm/doveadm-director.c
    M src/doveadm/doveadm-stats.c
    M src/lib-dict/dict-file.c
    M src/lib-lda/duplicate.c
    M src/lib-storage/index/dbox-multi/mdbox-purge.c
    M src/lib-storage/index/maildir/maildir-uidlist.c
    M src/plugins/push-notification/push-notification-drivers.c
    M src/pop3/pop3-commands.c

  Log Message:
  -----------
  global: Use hash_table_update() instead of _insert() where necessary.


Compare: https://github.com/dovecot/core/compare/cbc8f9d71483...c224fff79d18


More information about the dovecot-cvs mailing list