[dovecot/core] 187fbf: doveadm proxy: Don't crash if remote doesn't suppo...

GitHub noreply at github.com
Mon Oct 16 10:00:09 EEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 187fbf157d5c42f9f06ce52884fefbb4f66c070d
      https://github.com/dovecot/core/commit/187fbf157d5c42f9f06ce52884fefbb4f66c070d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-14 (Sat, 14 Oct 2017)

  Changed paths:
    M src/doveadm/server-connection.c

  Log Message:
  -----------
  doveadm proxy: Don't crash if remote doesn't support log proxying


  Commit: 0fbce082b59df2738e0c893f5251cb0116e1835b
      https://github.com/dovecot/core/commit/0fbce082b59df2738e0c893f5251cb0116e1835b
  Author: Bill Cole <18053819+grumpybozo at users.noreply.github.com>
  Date:   2017-10-16 (Mon, 16 Oct 2017)

  Changed paths:
    M src/lib/byteorder.h

  Log Message:
  -----------
  Added "ULL" to the hex literals that needed it.

On 32-bit platforms with older compilers (e.g. gcc 4.2 on MacOS 10.6
running on a 1st-gen Core Duo) a 'long' is 4 bytes and the compiler does
not automatically use a 'long long' when needed, but instead generates
an error. e.g.:

libtool: compile:  /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/lib -I../../../src/lib-mail -I../../../src/lib-index -I../../../src/lib-storage -I../../../src/plugins/fts -I../../../src/doveadm -I/opt/local/include/openssl -I/opt/local/include -I/opt/local/include/CLucene/ext -pipe -Os -arch i386 -D__STDC_LIMIT_MACROS -MT lucene-wrapper.lo -MD -MP -MF .deps/lucene-wrapper.Tpo -c lucene-wrapper.cc  -fno-common -DPIC -o .libs/lucene-wrapper.o
In file included from ../../../src/lib/lib.h:33,
           from lucene-wrapper.cc:4:
../../../src/lib/byteorder.h:94: error: integer constant is too large for ‘long’ type
../../../src/lib/byteorder.h:95: error: integer constant is too large for ‘long’ type
../../../src/lib/byteorder.h:96: error: integer constant is too large for ‘long’ type
../../../src/lib/byteorder.h:97: error: integer constant is too large for ‘long’ type
make[4]: *** [lucene-wrapper.lo] Error 1

Adding the 'ULL' to the end of the 16-digit hex literals that are used
to test the structure of 64-bit integers fixes this and avoids any
problem which could arise from the compiler using a 32-bit type for
those literals that could fit in 32 bites.


  Commit: 7542b9c480889bb7d2c3c9288e0df0fbbce0b639
      https://github.com/dovecot/core/commit/7542b9c480889bb7d2c3c9288e0df0fbbce0b639
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-10-16 (Mon, 16 Oct 2017)

  Changed paths:
    M src/plugins/fs-compress/fs-compress.c

  Log Message:
  -----------
  fs-compress: Allow compress level 0 to skip compression

This can be useful when combined with the "maybe-" prefix, so Dovecot will
support reading compressed files without creating new ones.


  Commit: ca5b42cad97beba7c4765a607d46fd4745a6fda8
      https://github.com/dovecot/core/commit/ca5b42cad97beba7c4765a607d46fd4745a6fda8
  Author: Josef 'Jeff' Sipek <jeff.sipek at dovecot.fi>
  Date:   2017-10-16 (Mon, 16 Oct 2017)

  Changed paths:
    M src/plugins/acl/acl-api.h

  Log Message:
  -----------
  acl plugin: avoid "'struct stat' declared inside parameter list" warning


Compare: https://github.com/dovecot/core/compare/2ae85e9ccfdb...ca5b42cad97b


More information about the dovecot-cvs mailing list