[dovecot/core] 80d514: Fix compiling when compiler doesn't support typeof...

GitHub noreply at github.com
Fri Dec 23 14:00:16 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: 80d514f8b71b9bd7c892433efa761716b90f7075
      https://github.com/dovecot/core/commit/80d514f8b71b9bd7c892433efa761716b90f7075
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/lib-dns/test-dns-util.c
    M src/plugins/dict-ldap/dict-ldap.c

  Log Message:
  -----------
  Fix compiling when compiler doesn't support typeof()


  Commit: 14a866d54c8208a7fbeee27c6b031f33ab98ebf9
      https://github.com/dovecot/core/commit/14a866d54c8208a7fbeee27c6b031f33ab98ebf9
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/plugins/replication/replication-plugin.c

  Log Message:
  -----------
  replication plugin: Error handling code cleanup

The old code happened to work in all cases, but it was more of an accident.


  Commit: c12b91e3471f54e3e70e322970e389bdeb0ef445
      https://github.com/dovecot/core/commit/c12b91e3471f54e3e70e322970e389bdeb0ef445
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M dovecot.service.in

  Log Message:
  -----------
  dovecot.service.in: Improve [service] examples

Move them inside [service] section so that simply uncommenting them works.
Also give a better example of how Environment might be used.


  Commit: 50593e2292db081cd9ef4d8ac7cc7e125a3a7178
      https://github.com/dovecot/core/commit/50593e2292db081cd9ef4d8ac7cc7e125a3a7178
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/lib-mail/message-binary-part.c

  Log Message:
  -----------
  lib-mail: message_binary_part_deserialize(): Return error if body line count is too large

The input was unsigned int, so output must also fit into unsigned int.


  Commit: 68a71b355f91ea5d73b65d1d856b0ec0b925e091
      https://github.com/dovecot/core/commit/68a71b355f91ea5d73b65d1d856b0ec0b925e091
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/replication/replicator/doveadm-connection.c

  Log Message:
  -----------
  replication: ignore o_stream_send errors in doveadm-connection


  Commit: 9f6ad59ac3a882df7fd9501918c7d2ff38fa3886
      https://github.com/dovecot/core/commit/9f6ad59ac3a882df7fd9501918c7d2ff38fa3886
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/imap/cmd-getmetadata.c
    M src/imap/cmd-thread.c
    M src/imap/imap-master-client.c

  Log Message:
  -----------
  imap: use o_stream_nsend when not checking failure


  Commit: 2422b561f338c29627e854683ccd6909015d76f0
      https://github.com/dovecot/core/commit/2422b561f338c29627e854683ccd6909015d76f0
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

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

  Log Message:
  -----------
  lib-index: Fix checking if cache file becomes >4GB


  Commit: 2068fde31114a2755ecadf151ce0b0747f9b534c
      https://github.com/dovecot/core/commit/2068fde31114a2755ecadf151ce0b0747f9b534c
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/lib-fs/fs-randomfail.c

  Log Message:
  -----------
  fs-randomfail: Fix failure handling for fs_read()


  Commit: 7686697853a6a42207b110184cbe8e745a81e95a
      https://github.com/dovecot/core/commit/7686697853a6a42207b110184cbe8e745a81e95a
  Author: Martti Rannanjärvi <martti.rannanjarvi at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/stats/client-export.c

  Log Message:
  -----------
  stats: use o_stream_nsend in client-export


  Commit: 1997fe1cea2d0ec389919469f5a6f14b2d5443f5
      https://github.com/dovecot/core/commit/1997fe1cea2d0ec389919469f5a6f14b2d5443f5
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-12-23 (Fri, 23 Dec 2016)

  Changed paths:
    M src/lib-index/mail-transaction-log-file.c

  Log Message:
  -----------
  lib-index: Fix assert-crash if .log creation unexpectedly fails at the end

Pretty much the only reason for this to happen is if the index directory
was deleted while another process still had the index open. Even this
doesn't normally trigger this crash, because there are other checks earlier
that usually catch it. So it crashes only in some race conditions.

Fixes:
Error: rename(.../dovecot.index.log.newlock, .../dovecot.index.log) failed: No such file or directory
Panic: file mail-transaction-log-file.c: line 105 (mail_transaction_log_file_free): assertion failed: (!file->locked)


Compare: https://github.com/dovecot/core/compare/eb0308e25bb8...1997fe1cea2d


More information about the dovecot-cvs mailing list