[dovecot/core] de3018: lib-index: Fix adding forced cache decisions to ex...

GitHub noreply at github.com
Tue Jan 23 10:30:10 EET 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: de3018a2744a324ffae457bcdbfc8cebe3f5a880
      https://github.com/dovecot/core/commit/de3018a2744a324ffae457bcdbfc8cebe3f5a880
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-23 (Tue, 23 Jan 2018)

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

  Log Message:
  -----------
  lib-index: Fix adding forced cache decisions to existing cache files

If a field already existed in the cache file, the cache decision from the
file was always used. This caused force-decisions to be ignored.


  Commit: 6ef2504d020461b0f480766c41596595a4300023
      https://github.com/dovecot/core/commit/6ef2504d020461b0f480766c41596595a4300023
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-23 (Tue, 23 Jan 2018)

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

  Log Message:
  -----------
  lib-index: Fix removal of forced cache decisions from existing cache files

The forced-flags are written to the cache file when the file is created.
They were also read back, and the force-flag was preserved even when the
configuration was removed.


Compare: https://github.com/dovecot/core/compare/3a862c8c9e35...6ef2504d0204


More information about the dovecot-cvs mailing list