[dovecot/core] dda0bb: lib: import byte swapping & endian converting func...

GitHub noreply at github.com
Tue Aug 1 16:30:13 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: dda0bbabf51bee31d32e7501925b891e39af28a3
      https://github.com/dovecot/core/commit/dda0bbabf51bee31d32e7501925b891e39af28a3
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-08-01 (Tue, 01 Aug 2017)

  Changed paths:
    M src/lib/Makefile.am
    A src/lib/byteorder.h
    M src/lib/lib.h
    A src/lib/test-byteorder.c
    M src/lib/test-lib.c
    M src/lib/test-lib.h

  Log Message:
  -----------
  lib: import byte swapping & endian converting functions


  Commit: a6fdcbc8e668a5dc8c1ff7dc0605fb3feebe75c5
      https://github.com/dovecot/core/commit/a6fdcbc8e668a5dc8c1ff7dc0605fb3feebe75c5
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-08-01 (Tue, 01 Aug 2017)

  Changed paths:
    M src/doveadm/doveadm-dump-mailboxlog.c
    M src/doveadm/dsync/dsync-mailbox-state.c
    M src/lib-compression/istream-lz4.c
    M src/lib-compression/istream-zlib.c
    M src/lib-dcrypt/istream-decrypt.c
    M src/lib-index/mail-index-util.c
    M src/lib-index/mailbox-log.c
    M src/lib-ntlm/ntlm-des.c
    M src/lib/test-guid.c

  Log Message:
  -----------
  global: use new byte ordering API


  Commit: 0a127993ec9a430f579c1738544ceaa2c40a1709
      https://github.com/dovecot/core/commit/0a127993ec9a430f579c1738544ceaa2c40a1709
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-08-01 (Tue, 01 Aug 2017)

  Changed paths:
    M src/lib/byteorder.h

  Log Message:
  -----------
  lib: add explicit casts to byteorder macros

Some consumers of lib.h are in C++ and therefore they try to compile
byteorder.h as C++ code.  C++ compilers don't like the implicit void *
-> struct anything * conversion, so we squelch those by adding explicit
casts.


Compare: https://github.com/dovecot/core/compare/f3f617e25186...0a127993ec9a


More information about the dovecot-cvs mailing list