| Commit message (Collapse) | Author | Age |
|
|
| |
Gbp-Pq: Name 03-adjust-syslog-facility.diff
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This time I have made the minimum number of changes necessary to make OpenSSL
1.1 work, and also added more tests which would have caught the issues with the
previous attempt.
Thanks to Johann Glaser for testing out the new version and reporting the
issue with decryption!
|
| | |
|
| |
| |
| |
| |
| |
| | |
Until shown to be safe. See message from Johann Glaser to the mailing list.
This reverts commit 85e7efc3fa0477f60318d2cd2144503a9ea8feb9.
|
|/
|
|
|
|
|
|
|
|
|
| |
A recent fix for Solaris (commit 81e9aa6545f7f19124c9f5e88982b867d8732965)
broke support for 32-bit Linux (which wasn't spotted because we didn't have any
32-bit builders). Try a different approach: detect whether the lseek syscall
takes a 64-bit integer offset, and use that if possible.
CMake: reimplement autoconf tests for 64-bit lseek
(cherry picked from commit 138ea5d174f146f14d91a16bf5d1ce8e479d2024)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
RAND_pseudo_bytes is less secure and is now deprecated.
(cherry picked from commit f449986b68bd12c18d742c91b625779ae75b11a2)
|
|
|
|
|
|
|
|
|
|
| |
Master build fails with: lib/common/Timer.cpp:171:10: error: reference cannot
be bound to dereferenced null pointer in well-defined C++ code; pointer may be
assumed to always convert to true [-Werror,-Wundefined-bool-conversion].
Cannot get regtests to pass on this feature branch without fixing this.
Also remove unused code from Timers.
|
|
|
|
| |
Thanks to Reinhard Tartler for pointing out the problem and suggesting the fix!
|
|
|
|
|
|
|
| |
Should hopefully reduce random failures of timing-dependent tests which
rely on subsecond precision for accuracy.
(cherry picked from commit c845b2e39fffeb560983a301d810616a6495469d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ideally timers would be perfectly accurate and we could sleep for 1.0 seconds,
but on OSX in particular they could fire 50-100 ms late (I've seen 4 ms in
practice) and we don't want the tests to fail because of this, because we don't
really need that kind of precision in practice. So we reduce the timer
intervals by 100ms to be safe.
Increase logging level and add timestamps in testcommon. Should help to debug
frequent test failures such as Condition [t2.HasExpired()] on OSX hosts on
Travis.
Add a SettingsGuard to the Console logger for its specific settings, such as
showing times and microseconds.
(cherry picked from commit a5e6cff1d435329b0121417ed9509e315ce0edd5)
(cherry picked from commit 8d02eebce553ed822e0fcd60d6e319384e15ba4b)
|
| |
|
|
|
|
|
| |
64-bit Solaris has _FILE_OFFSET_BITS defined (to 64), which was wrongly causing
the substitute lseek in lib/intercept to enter the 32-bit branch.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add platform detection that's compatible with the old buildsystem and its m4
autoconfigury.
Make Travis build and test using CMake as a separate target.
Remove unused function BoxGetTemporaryDirectoryName() to fixes compile using
CMake on Unix.
|
|
|
|
|
|
|
| |
Rewrite some macros in forms that can be parsed by our parser written in CMake
language (fake m4 with regexps).
Fix incorrect conditional includes and incorrect #if/#ifdef assumptions.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
We need to use CreateProcessW() instead of system() to pass these filenames
to the rd command.
Fixes every test that runs after test_unicode_filenames_can_be_backed_up
in test/bbackupd.
|
| |
|
| |
|
|
|
|
|
| |
Returning an uninitialised value was causing copying of random amounts of data
in bbackupd on command socket disconnect, and crashes.
|
|
|
|
| |
Allows us to remove cleanup code, because it happens automatically.
|
|
|
|
|
| |
Like HousekeepStoreAccount and BackupStoreCheck, throwing an exception during
the destructor will terminate the application in an "unusual way".
|
| |
|
|
|
|
| |
Use INVALID_HANDLE_VALUE for invalid handle values, instead of 0.
|
|
|
|
| |
Windows.
|
|
|
|
|
| |
GetErrorMessage() already includes the error number in the text string that
it returns, so we don't need to include it again.
|
|
|
|
|
| |
Like HousekeepStoreAccount, throwing an exception during the destructor will
terminate the application in an "unusual way".
|
| |
|
|
|
|
|
| |
We should always use closesocket() instead, which the Close() method already
does, so just call it instead.
|
|
|
|
|
|
| |
Destructors aren't supposed to throw exceptions, and they can be called
while cleaning up from a previous exception, which will terminate the
application, so just log the error and carry on.
|
|
|
|
|
| |
I think something is on the PATH in Appveyor that makes rmdir /s/q fail,
especially when run through Perl.
|
|
|
|
| |
Break dependendency of test/bbackupd on individual files from other modules.
|
| |
|
|
|
|
| |
Use the rmdir command instead of rm -rf.
|
| |
|
|
|
|
| |
debugging possible
|
| |
|
|\ |
|
| | |
|
| | |
|