[dovecot/core] d28179: lib: Changed istream.abs_start_offset to be relati...

GitHub noreply at github.com
Wed May 18 22:30:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: d28179fd78550a58be44dcb1e3e830ab7d33172d
      https://github.com/dovecot/core/commit/d28179fd78550a58be44dcb1e3e830ab7d33172d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
    M src/lib-compression/istream-bzlib.c
    M src/lib-compression/istream-lz4.c
    M src/lib-compression/istream-lzma.c
    M src/lib-compression/istream-zlib.c
    M src/lib-fs/istream-metawrap.c
    M src/lib/iostream-temp.c
    M src/lib/istream-mmap.c
    M src/lib/istream-private.h
    M src/lib/istream.c
    M src/lib/ostream-file.c

  Log Message:
  -----------
  lib: Changed istream.abs_start_offset to be relative start_offset

i_stream_get_absolute_offset() walks through the stream's parents to get the
absolute offset. This allows streams to change their start_offset after
they have already created (e.g. istream-metawrap).


  Commit: 456602d34c76aa78e23b552bec2c03bc59b78aca
      https://github.com/dovecot/core/commit/456602d34c76aa78e23b552bec2c03bc59b78aca
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-19 (Thu, 19 May 2016)

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

  Log Message:
  -----------
  lib-fs: istream-metawrap can now safely have a readable fd


Compare: https://github.com/dovecot/core/compare/79fff61b8fa0...456602d34c76


More information about the dovecot-cvs mailing list