[Box Backup-commit] [boxbackup/boxbackup] 369995: Improve NamedLock code readability, reliability an...

GitHub noreply at github.com
Sun Jan 14 18:39:05 GMT 2018


  Branch: refs/heads/s3_support_merge
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 3699952eb0c9d599ab153fc8d13cb74e899706b0
      https://github.com/boxbackup/boxbackup/commit/3699952eb0c9d599ab153fc8d13cb74e899706b0
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-01-14 (Sun, 14 Jan 2018)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4
    M lib/common/CommonException.txt
    M lib/common/NamedLock.cpp
    M lib/common/NamedLock.h
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Improve NamedLock code readability, reliability and logging

Define our own preprocessor defines for lock methods, test that we cover every
case at compile time ad that they have the semantics that we expect (reentrant
or not).

Add support for F_OFD_SETLK, a non-reentrant lock type offered by Linux, and
ensure that this and FLOCK are chosen in preference to F_SETLK locks, which are
reentrant.

(cherry picked from commit de1911b132310a1d5f1073928036db00abe0ef20)
(cherry picked from commit 96136adf5dbe38ef92ad3f9490b549c11dd91fd4)


  Commit: 9840962df6cc8a450f887d6fe86650a08452ab0f
      https://github.com/boxbackup/boxbackup/commit/9840962df6cc8a450f887d6fe86650a08452ab0f
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-01-14 (Sun, 14 Jan 2018)

  Changed paths:
    M appveyor.yml
    M infrastructure/cmake/CMakeLists.txt
    M infrastructure/cmake/windows/CMakeLists.txt
    M lib/crypto/CipherBlowfish.cpp
    M lib/crypto/CipherContext.cpp
    M lib/crypto/CipherContext.h
    M lib/crypto/CipherException.txt
    M lib/server/TLSContext.cpp
    M test/crypto/testcrypto.cpp

  Log Message:
  -----------
  Add support for OpenSSL 1.1 and replace deprecated function calls

See https://github.com/boxbackup/boxbackup/issues/16 for details. Thanks to
Chris West @FauxFaux for the initial patch!

Use OpenSSL 1.1.0g for Windows superbuild.

Fix Windows build by removing calls to obsolete do_ms.bat
<https://stackoverflow.com/questions/39076244/why-there-is-no-ms-do-ms-bat-after-perl-configure-vc-win64a/39247560#39247560>.

Workaround for incorrect library suffixes searched by FindOpenSSL
<https://gitlab.kitware.com/cmake/cmake/issues/17604>.

Link OpenSSL statically and fix missing dependency on crypt32.lib.

(cherry picked from commit edd3687f067c68b131822e0064cdeff5bf7a3835)
(cherry picked from commit b003e009d1fccadf55a0f59a01c66f7b80f9b3e5)
(cherry picked from commit cc6e20466b857f7e20d816a2c20cb36f112398ab)
(cherry picked from commit 303c6405e3bc1e673dbc691792e0633742c01f4e)
(cherry picked from commit 4e24006f75142a254f1a7db76cf9da1e752d9283)
(cherry picked from commit 448ac48a89538f67f508f8d21931c5e6e90472c0)
(cherry picked from commit 00b3bb0697219ef8c742698dd43d53b538e362b1)
(cherry picked from commit 85e7efc3fa0477f60318d2cd2144503a9ea8feb9)


  Commit: ecad3c1dc4378e4be7b4736cca202564fe7e2e3b
      https://github.com/boxbackup/boxbackup/commit/ecad3c1dc4378e4be7b4736cca202564fe7e2e3b
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2018-01-14 (Sun, 14 Jan 2018)

  Changed paths:
    M lib/server/ServerControl.cpp
    M test/basicserver/testbasicserver.cpp

  Log Message:
  -----------
  Improve logging in test/basicserver to help debug FreeBSD test failures


Compare: https://github.com/boxbackup/boxbackup/compare/15fb77125246...ecad3c1dc437


More information about the Boxbackup-commit mailing list