[dovecot/core] b12798: lib-storage: If ITERINDEX is set, delay checking w...

GitHub noreply at github.com
Tue Jul 25 10:00:12 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: b12798bbbda561680191eef393c6ee7259569850
      https://github.com/dovecot/core/commit/b12798bbbda561680191eef393c6ee7259569850
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

  Changed paths:
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: If ITERINDEX is set, delay checking whether mail root exists

In future this could be done even without ITERINDEX. It's not done yet,
since it might break backwards compatibility with some systems.


  Commit: cded712c19ea8fb43c22726331de26b8a8dd234b
      https://github.com/dovecot/core/commit/cded712c19ea8fb43c22726331de26b8a8dd234b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

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

  Log Message:
  -----------
  lib-index: Add mail_index_use_existing_permissions()

This has annoyingly lot of copy&pasting from
mailbox_list_get_permissions_stat(), but there didn't seem to be any nice
place where to share the code.


  Commit: 992511e0cfdb592fd60ab93ebfe8f0a19ab37cb1
      https://github.com/dovecot/core/commit/992511e0cfdb592fd60ab93ebfe8f0a19ab37cb1
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-07-24 (Mon, 24 Jul 2017)

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

  Log Message:
  -----------
  lib-storage: Try to get mailbox list index's permissions from its parent directory

This avoids stat()ing the mail/index root directory, which is especially
useful when mailbox list index is stored in tmpfs.


  Commit: ac225e892630ecfdbbd09afe27887edd13d4697b
      https://github.com/dovecot/core/commit/ac225e892630ecfdbbd09afe27887edd13d4697b
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-07-25 (Tue, 25 Jul 2017)

  Changed paths:
    M src/lib/var-expand-if.c

  Log Message:
  -----------
  lib: Fix static analyzer warnings in var-expand-if


Compare: https://github.com/dovecot/core/compare/49c48631cfd0...ac225e892630


More information about the dovecot-cvs mailing list