[dovecot/core] a0cf7d: lib-fs: Clarified fs_write_stream_abort() API and ...

GitHub noreply at github.com
Wed Jun 1 14:30:12 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: a0cf7d3924dec409e6eadaf3237fcecd4194ec75
      https://github.com/dovecot/core/commit/a0cf7d3924dec409e6eadaf3237fcecd4194ec75
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

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

  Log Message:
  -----------
  lib-fs: Clarified fs_write_stream_abort() API and dropped its _async().

We can't handle an abort after an async fs_write_stream_finish() is already
going.


  Commit: 98ff8998f6ddd019d22db541cdb316df2c37f15d
      https://github.com/dovecot/core/commit/98ff8998f6ddd019d22db541cdb316df2c37f15d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

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

  Log Message:
  -----------
  lib-fs: Added more asserts


  Commit: 68ee8d7e681d9e1ac8b6bdad33a79c22054190ff
      https://github.com/dovecot/core/commit/68ee8d7e681d9e1ac8b6bdad33a79c22054190ff
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

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

  Log Message:
  -----------
  fs-metawrap: Removed unnecessary code.

The caller already set success==FALSE if ostream was closed.


  Commit: b162e16ade1e0d9bfae62e366caf57a3132f5963
      https://github.com/dovecot/core/commit/b162e16ade1e0d9bfae62e366caf57a3132f5963
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

  Changed paths:
    M src/lib-fs/Makefile.am
    A src/lib-fs/fs-test-async.c
    M src/lib-fs/fs-test.c
    M src/lib-fs/fs-test.h
    M src/lib-fs/test-fs-metawrap.c

  Log Message:
  -----------
  lib-fs: Improved unit tests.


  Commit: 082e10a9d07aeb9ae54d926d438db2f778c6157d
      https://github.com/dovecot/core/commit/082e10a9d07aeb9ae54d926d438db2f778c6157d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-06-01 (Wed, 01 Jun 2016)

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

  Log Message:
  -----------
  fs-metawrap: Removed unnecessary code.

As mentioned in a0cf7d392, this can't happen.


Compare: https://github.com/dovecot/core/compare/adb9f4a606df...082e10a9d07a


More information about the dovecot-cvs mailing list