[dovecot/core] da0b85: lib-storage: Do not drop autocreate boxes when lis...

GitHub noreply at github.com
Thu May 18 15:00:12 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: da0b85092a337d8e74ad1a3e4043ee9b210cc2f2
      https://github.com/dovecot/core/commit/da0b85092a337d8e74ad1a3e4043ee9b210cc2f2
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-iter.c

  Log Message:
  -----------
  lib-storage: Do not drop autocreate boxes when listing them

Otherwise we skip folders, because array_delete() is removing boxes while they're being iterated.


  Commit: b5c6ce2ab8dc1a5817e8adc989d21a9f603a6673
      https://github.com/dovecot/core/commit/b5c6ce2ab8dc1a5817e8adc989d21a9f603a6673
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-iter.c
    M src/lib-storage/mailbox-list-private.h

  Log Message:
  -----------
  lib-storage: Rename autocreate_iter_existing to mailbox_list_iter_autocreate_filter

It makes next commit possible


  Commit: b936882755cc7819463e503edca4cb5f1782ae4b
      https://github.com/dovecot/core/commit/b936882755cc7819463e503edca4cb5f1782ae4b
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index-iter.c

  Log Message:
  -----------
  lib-storage: Apply mailbox_list_iter_autocreate_filter on mailbox_list_index_iter_next

It skips mailbox_list_iter_next, so it needs to be applied here as well.


Compare: https://github.com/dovecot/core/compare/78c3c40ee0ce...b936882755cc


More information about the dovecot-cvs mailing list