[dovecot/core] 6332c5: lib-http: http_client_request_abort(NULL) should b...

GitHub noreply at github.com
Wed Jun 13 11:00:16 EEST 2018


  Branch: refs/heads/master-2.3
  Home:   https://github.com/dovecot/core
  Commit: 6332c597207c682e76fe11a4a4c373bafa2e1eac
      https://github.com/dovecot/core/commit/6332c597207c682e76fe11a4a4c373bafa2e1eac
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

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

  Log Message:
  -----------
  lib-http: http_client_request_abort(NULL) should be a no-op


  Commit: 8201a540b334c5804be8a4f6c923a269753b9c72
      https://github.com/dovecot/core/commit/8201a540b334c5804be8a4f6c923a269753b9c72
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M src/auth/auth-policy.c
    M src/lib-http/http-client-connection.c
    M src/lib-oauth2/oauth2.c
    M src/plugins/fts-solr/solr-connection.c
    M src/plugins/fts/fts-parser-tika.c

  Log Message:
  -----------
  global: start relying on http_client_request_abort(NULL) being a no-op

Cleanup performed with the following semantic patch:

	@@
	expression E;
	@@

	- if (E != NULL) {
	- 	http_client_request_abort(&E);
	- }
	+ http_client_request_abort(&E);


  Commit: 1e2e986e444840b3ec143b0523647e199b9040bb
      https://github.com/dovecot/core/commit/1e2e986e444840b3ec143b0523647e199b9040bb
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M src/lib-imap/imap-match.c

  Log Message:
  -----------
  lib-imap: imap_match_deinit(NULL) should be a no-op


  Commit: a9ec4cdac9e6b1826d4ea564cf60bf00bb2af84c
      https://github.com/dovecot/core/commit/a9ec4cdac9e6b1826d4ea564cf60bf00bb2af84c
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

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

  Log Message:
  -----------
  lib-fs: fs_file_deinit(NULL) should be a no-op


  Commit: 873ec0391dc5813eeb4c94884c7c14e706f1b2d3
      https://github.com/dovecot/core/commit/873ec0391dc5813eeb4c94884c7c14e706f1b2d3
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M src/doveadm/doveadm-fs.c
    M src/lib-fs/fs-metawrap.c
    M src/lib-fs/fs-sis-queue.c
    M src/plugins/fs-compress/fs-compress.c
    M src/plugins/mail-crypt/fs-crypt-common.c

  Log Message:
  -----------
  global: start relying on fs_file_deinit(NULL) being a no-op

Cleanup performed with the following semantic patch:

	@@
	expression E;
	@@

	- if (E != NULL) {
	- 	fs_file_deinit(&E);
	- }
	+ fs_file_deinit(&E);


  Commit: 6394956f75064af14582c01e7580b12ca114946e
      https://github.com/dovecot/core/commit/6394956f75064af14582c01e7580b12ca114946e
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

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

  Log Message:
  -----------
  lib-fs: fs_file_close(NULL) should be a no-op


  Commit: 018d23e160e98e5058e03235c389ed6a4b57aa6a
      https://github.com/dovecot/core/commit/018d23e160e98e5058e03235c389ed6a4b57aa6a
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M src/lib-fs/fs-metawrap.c
    M src/plugins/fs-compress/fs-compress.c
    M src/plugins/mail-crypt/fs-crypt-common.c

  Log Message:
  -----------
  global: start relying on fs_file_close(NULL) being a no-op

Cleanup performed with the following semantic patch:

	@@
	expression E;
	@@

	- if (E != NULL) {
	- 	fs_file_close(E);
	- }
	+ fs_file_close(E);


  Commit: f72bc8eb77a50aedf48fd515cf6676b85f22f1e3
      https://github.com/dovecot/core/commit/f72bc8eb77a50aedf48fd515cf6676b85f22f1e3
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

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

  Log Message:
  -----------
  lib-fs: fs_unref(NULL) should be a no-op


  Commit: 8e68c0cacbfb028624461a840cf6925e8a78761a
      https://github.com/dovecot/core/commit/8e68c0cacbfb028624461a840cf6925e8a78761a
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M src/lib-fs/fs-metawrap.c
    M src/lib-fs/fs-randomfail.c
    M src/lib-fs/fs-sis-queue.c
    M src/lib-fs/fs-sis.c
    M src/lib-storage/index/dbox-common/dbox-storage.c
    M src/plugins/fs-compress/fs-compress.c
    M src/plugins/mail-crypt/fs-crypt-common.c

  Log Message:
  -----------
  global: start relying on fs_deinit(NULL) and fs_unref(NULL) being no-ops

Cleanup performed with the following semantic patch:

	@@
	expression E;
	@@

	- if (E != NULL) {
	- 	fs_unref(&E);
	- }
	+ fs_unref(&E);

	@@
	expression E;
	@@

	- if (E != NULL) {
	- 	fs_deinit(&E);
	- }
	+ fs_deinit(&E);


  Commit: 5f12eca8d3ce39f7bfa4eb4ad80c05f5b313ba1b
      https://github.com/dovecot/core/commit/5f12eca8d3ce39f7bfa4eb4ad80c05f5b313ba1b
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

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

  Log Message:
  -----------
  lib-fs: fs_iter_deinit(NULL) should be a no-op


  Commit: 60627f9f1611009d329944bb88efb77ac0695cba
      https://github.com/dovecot/core/commit/60627f9f1611009d329944bb88efb77ac0695cba
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M src/lib-dict-extra/dict-fs.c

  Log Message:
  -----------
  global: start relying on fs_iter_deinit(NULL) being a no-op


  Commit: 0f972d2b1a244d4988ae8a5a4c9cb6cf5b6776a4
      https://github.com/dovecot/core/commit/0f972d2b1a244d4988ae8a5a4c9cb6cf5b6776a4
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

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

  Log Message:
  -----------
  lib-fs: fs_unlock(NULL) should be a no-op


  Commit: 3a8cf378c44b37080644fe90abde646856e0e340
      https://github.com/dovecot/core/commit/3a8cf378c44b37080644fe90abde646856e0e340
  Author: Stephan Bosch <stephan.bosch at dovecot.fi>
  Date:   2018-06-13 (Wed, 13 Jun 2018)

  Changed paths:
    M src/lib/iostream-pump.c
    M src/lib/iostream-pump.h

  Log Message:
  -----------
  lib: iostream-pump: Make iostream_pump_unref() implementation match other similar code.

This also means that iostream_pump_unref(NULL) is now a no-op.


Compare: https://github.com/dovecot/core/compare/3468508c88d9...3a8cf378c44b
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list