[dovecot/core] 0bbdad: lib: rename bswap_*() to i_bswap()

GitHub noreply at github.com
Mon Jan 15 12:00:17 EET 2018


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 0bbdad1cd30b58cf75e68a9cf02f251586ba5ccb
      https://github.com/dovecot/core/commit/0bbdad1cd30b58cf75e68a9cf02f251586ba5ccb
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

  Changed paths:
    M src/lib/byteorder.h
    M src/lib/test-byteorder.c

  Log Message:
  -----------
  lib: rename bswap_*() to i_bswap()


  Commit: 28934b775d893b7fad99ba354381dd6ee6eb4e00
      https://github.com/dovecot/core/commit/28934b775d893b7fad99ba354381dd6ee6eb4e00
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

  Changed paths:
    M src/lib-http/test-http-client.c

  Log Message:
  -----------
  lib-http: test-http-client - conditionally depend on openssl

Fixes compiling without openssl, broken by c45da70c


  Commit: 98732c035e42d48a1de060a5f12f7edc5f3c6fe3
      https://github.com/dovecot/core/commit/98732c035e42d48a1de060a5f12f7edc5f3c6fe3
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

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

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


  Commit: 572102f8b6737c073a82a671d99484fdddb23279
      https://github.com/dovecot/core/commit/572102f8b6737c073a82a671d99484fdddb23279
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

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

  Log Message:
  -----------
  lib-storage: Set index error on transaction commit() callback

The commit callback is setting errors to storage. However, it's being
called from mail_index_transaction_commit() whose callers are expecting
the error to be in index. If that index error was attempted to be used,
it could have been wrong or NULL. Fix this by setting the same storage
error also to the index.


  Commit: 0c58d70856f26b64f49b116745b8565f100f4237
      https://github.com/dovecot/core/commit/0c58d70856f26b64f49b116745b8565f100f4237
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

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

  Log Message:
  -----------
  lib-storage: mail_storage_set_index_error() - handle NULL index error

This avoids assert-crashing later on in mail*_get_last_internal_error().

This could potentially be an assert instead of setting it as "BUG", but
it looks like there are various code paths in lib-index that return -1
without setting an error. (That's to avoid duplicate error logging,
although it could now be fixed with mail_index_set_error_nolog().)


  Commit: 892f4a694d8b985b35c9c748ebc3ffba27aa986f
      https://github.com/dovecot/core/commit/892f4a694d8b985b35c9c748ebc3ffba27aa986f
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

  Changed paths:
    M src/lib-http/Makefile.am

  Log Message:
  -----------
  lib-http: Only depend on iostream openssl lib if building with openssl

Fixes build without openssl


  Commit: a81eb5982b211e58719eda5decf728bf766d97db
      https://github.com/dovecot/core/commit/a81eb5982b211e58719eda5decf728bf766d97db
  Author: Jarkko Mourujärvi <jarkko.mourujarvi at dovecot.fi>
  Date:   2018-01-15 (Mon, 15 Jan 2018)

  Changed paths:
    M src/config/doveconf.c

  Log Message:
  -----------
  doveconf: add hostname to output


Compare: https://github.com/dovecot/core/compare/352118f1beb0...a81eb5982b21


More information about the dovecot-cvs mailing list