[dovecot/core] 13fc4d: lib: istream-concat - make cur_input always match ...

GitHub noreply at github.com
Fri May 19 11:00:10 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 13fc4d6d28f05076ffe6f5a925e8f6269e4b548e
      https://github.com/dovecot/core/commit/13fc4d6d28f05076ffe6f5a925e8f6269e4b548e
  Author: Phil Carmody <phil at dovecot.fi>
  Date:   2017-05-19 (Fri, 19 May 2017)

  Changed paths:
    M src/lib/istream-concat.c

  Log Message:
  -----------
  lib: istream-concat - make cur_input always match input[cur_idx]

We're deliberately not stepping into the NULL stream, don't let the
cur_idx indicate that we have moved into it, that's confusing.

Signed-off-by: Phil Carmody <phil at dovecot.fi>


  Commit: 0327191888a058542f065526e82bce30319579a4
      https://github.com/dovecot/core/commit/0327191888a058542f065526e82bce30319579a4
  Author: Phil Carmody <phil at dovecot.fi>
  Date:   2017-05-19 (Fri, 19 May 2017)

  Changed paths:
    M src/lib/istream-concat.c

  Log Message:
  -----------
  lib: istream-concat - enforce cur_input==input[cur_idx] invariant

Since the over-seek patch, this is now an invariant, so ensure it's
always true.

Signed-off-by: Phil Carmody <phil at dovecot.fi>


  Commit: 0b2f4c2226f9a058b86648e6ba1317adc355f6b8
      https://github.com/dovecot/core/commit/0b2f4c2226f9a058b86648e6ba1317adc355f6b8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-19 (Fri, 19 May 2017)

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

  Log Message:
  -----------
  lib-storage: Fix mailbox list index records with name_id=0

name_id=0 isn't valid, so it needs to be changed and writen to the disk.
The write-to-disk part wasn't working.


  Commit: a18b40c2ce1cb4f2b087a9ee54af188a25431dba
      https://github.com/dovecot/core/commit/a18b40c2ce1cb4f2b087a9ee54af188a25431dba
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-05-19 (Fri, 19 May 2017)

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

  Log Message:
  -----------
  lib-storage: Fix mailbox list index records without guid having invalid flags

With LAYOUT=index the mailbox is found with its GUID. If it doesn't exist,
the mailbox has to be either \NonExistent or \NoSelect. It probably doesn't
make much difference which one, so we'll fix them by adding \NoSelect.

With other layouts the GUID is allowed to be empty, because it can be looked
up from the actual mailbox.


Compare: https://github.com/dovecot/core/compare/7efe57b10e55...a18b40c2ce1c


More information about the dovecot-cvs mailing list