[dovecot/core] 8a20f9: lib: Add function to see if lib is initialized

GitHub noreply at github.com
Mon Oct 31 15:00:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 8a20f964980a779f64d064a45cdc50952d9a20be
      https://github.com/dovecot/core/commit/8a20f964980a779f64d064a45cdc50952d9a20be
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-31 (Mon, 31 Oct 2016)

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

  Log Message:
  -----------
  lib: Add function to see if lib is initialized

This is needed by test-lib to prevent double init/deinit.


  Commit: 955f324bfd9e7b5962977108cf7e8a6028a021c7
      https://github.com/dovecot/core/commit/955f324bfd9e7b5962977108cf7e8a6028a021c7
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-10-31 (Mon, 31 Oct 2016)

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

  Log Message:
  -----------
  lib-test: Do not init/deinit library twice

If lib is initialized, do not initialize
or deinitialize library. This is done to
allow using master_service in unit tests
which also wants to perform lib init
and deinit itself.


Compare: https://github.com/dovecot/core/compare/b73cfe3eaba2...955f324bfd9e


More information about the dovecot-cvs mailing list