[dovecot/core] 01b9ed: lib-test: Suppress expected error messages

GitHub noreply at github.com
Tue Oct 3 10:30:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 01b9ed51648d3d765ae2dd921baa5239c2adf624
      https://github.com/dovecot/core/commit/01b9ed51648d3d765ae2dd921baa5239c2adf624
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M src/lib-test/test-common.c

  Log Message:
  -----------
  lib-test: Suppress expected error messages

Unless pattern is also provided


  Commit: 6c272362f7dbe8d5d3ad3574af5a816f2b0da1ab
      https://github.com/dovecot/core/commit/6c272362f7dbe8d5d3ad3574af5a816f2b0da1ab
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M dovecot.service.in

  Log Message:
  -----------
  dovecot.service: Update systemd file

There is no point daemonizing dovecot in systemd, also added
comment about apparmor and NoNewPrivileges option.


  Commit: b93dba1fdb1850e3c2706a40fd78450d555d8d9a
      https://github.com/dovecot/core/commit/b93dba1fdb1850e3c2706a40fd78450d555d8d9a
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M src/lib/lib.c
    M src/lib/macros.h

  Log Message:
  -----------
  lib: print correct error string on i_close_fd() failure

close_keep_errno() preserved the original errno, therefore the %m in
i_close_fd()'s error message printed an unrelated error string.


  Commit: ad81591e3c6b8824c7662122dc5d10f853a8e82a
      https://github.com/dovecot/core/commit/ad81591e3c6b8824c7662122dc5d10f853a8e82a
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M src/lib/lib.c
    M src/lib/macros.h

  Log Message:
  -----------
  lib: improve i_close_fd() error message

In addition to printing the file and line number, we can print the
actual arg passed in as well as the function calling i_close_fd().


  Commit: e4ac5643e11239bff646542b9df133ebab56619e
      https://github.com/dovecot/core/commit/e4ac5643e11239bff646542b9df133ebab56619e
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M src/lib/lib.c
    M src/lib/lib.h

  Log Message:
  -----------
  lib: remove close_keep_errno()


  Commit: c25d75b24ae0dcc0ab9081c389bbfc733d53ba63
      https://github.com/dovecot/core/commit/c25d75b24ae0dcc0ab9081c389bbfc733d53ba63
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M src/lib/lib.c
    M src/lib/macros.h

  Log Message:
  -----------
  lib: introduce i_close_fd_path()

It is like i_close_fd() but takes an argument with the name of the file
that's being closed.  The name is only used when printing the error
message due to a failed close() syscall.


  Commit: a943ed0f901e312445fd393249b91932797bba79
      https://github.com/dovecot/core/commit/a943ed0f901e312445fd393249b91932797bba79
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M src/auth/auth-master-connection.c
    M src/auth/auth-postfix-connection.c
    M src/auth/db-checkpassword.c
    M src/auth/db-passwd-file.c
    M src/doveadm/server-connection.c
    M src/lib-auth/auth-master.c
    M src/lib-dict/dict-cdb.c
    M src/lib-dict/dict-file.c
    M src/lib-dns/dns-lookup.c
    M src/lib-imap-client/imapc-connection.c
    M src/lib-index/mailbox-log.c
    M src/lib-master/master-login.c
    M src/lib-master/master-service.c
    M src/lib-stats/stats-connection.c
    M src/lib-storage/index/imapc/imapc-mail-fetch.c
    M src/lib-storage/index/imapc/imapc-mail.c
    M src/lib-storage/index/imapc/imapc-save.c
    M src/lib-storage/index/imapc/imapc-storage.c
    M src/lib-storage/index/pop3c/pop3c-client.c
    M src/lib/ioloop-notify-inotify.c
    M src/lmtp/client.c
    M src/login-common/login-proxy-state.c
    M src/plugins/fts-squat/squat-trie.c
    M src/plugins/fts-squat/squat-uidlist.c
    M src/plugins/mail-filter/istream-ext-filter.c
    M src/plugins/mail-filter/ostream-ext-filter.c
    M src/plugins/quota/quota-fs.c
    M src/plugins/quota/quota-maildir.c
    M src/plugins/replication/replication-plugin.c
    M src/util/tcpwrap.c

  Log Message:
  -----------
  global: use i_close_fd{,_path}() instead of open-coding them


  Commit: 32340fe8f461f6ae56c4cb3ee8392ba14c9f539a
      https://github.com/dovecot/core/commit/32340fe8f461f6ae56c4cb3ee8392ba14c9f539a
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2017-10-03 (Tue, 03 Oct 2017)

  Changed paths:
    M src/lib-dcrypt/istream-decrypt.c
    M src/lib-dcrypt/ostream-encrypt.c

  Log Message:
  -----------
  lib-dcrypt: Use cpu32_to_be instead of htonl

prefer our own conversion functions over htonl
which is intended for networking related numbers.


Compare: https://github.com/dovecot/core/compare/9a19ae4b3995...32340fe8f461


More information about the dovecot-cvs mailing list