| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
Enables all flags that are detected by M4 builds to be detected by CMake builds
as well (except for -Wall which enables a bunch of junk).
(cherry picked from commit 2ea8a9706d79a386729c7b2d814089e90bac6926)
(cherry picked from commit c6038419372534dba578da0c1b506bebc64f8f67)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
Should make debugging on Mac and BSD less painful.
Make t-gdb fail with an error when no debugger was detected.
(cherry picked from commit da98a8183737fb1fcb658cebd9612791a4750c4c)
(cherry picked from commit ea6bc722131222d1fad08521e61f552f16941b01)
(cherry picked from commit 38ba7510f2cad9accf445d5633c64e98a637a139)
(cherry picked from commit 02bfd7e5bdd2abc185b12f37e1f536269db6817a)
|
| |
|
|
|
|
| |
Disable pointless deprecation warnings for std::auto_ptr.
|
|
|
|
| |
Fixes compilation on CentOS 5.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
The flag -rdynamic must be removed from LDFLAGS after the check.
Otherwise its also set for the following checks and they fail.
|
|
|
|
| |
We should never fail to return something from a non-void function.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
NetBSD (version 6) uses ENOTSUP as the errno code to indicate missing support
for extended attribute in the filesystem. This appears to be at odds with other
Unixes: https://mail-index.netbsd.org/tech-kern/2011/12/13/msg012185.html
We need to detect and handle ENOTSUP to stop the backup daemon from killing
itself while trying to read extended attributes from the first file in the
backup set.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Older versions of GNU tar fail to set the timestamps on symlinks, which makes
them appear too recent/new to be backed up immediately, causing
test_bbackupd_uploads_files() for example to fail. Fixed by restoring the
timestamps manually after extracting the fixture archive.
For more details about the issue in tar, please see:
http://lists.gnu.org/archive/html/bug-tar/2009-08/msg00007.html
http://git.savannah.gnu.org/cgit/tar.git/plain/NEWS?id=release_1_24
This resulted in symlinks in fixture test files
|
|
|
|
|
|
|
|
|
|
|
| |
OpenBSD requires different headers to be included, including a bug which
makes it essential to include sys/param.h before sys/ucred.h, and gives the
fields of struct ucred different names than Linux does.
This fixes compilation on OpenBSD and allows the user connecting to a UNIX
socket to be checked, increasing security of the command socket on this
platform.
|
|
|
|
|
|
| |
Now that we've removed it from version control, we need to build it from
configure.in as part of bootstrapping Box Backup.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
as it should already be in LIBS by this point and we don't really want to
add a duplicate if we don't need it.
http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Libraries.html
also recommends the use of AC_SEARCH_LIBS instead.
Check whether we have getpeername() and sys/un.h to fix compile errors on
Windows with /dev/log fd leak test.
|
|
|
|
| |
errors.
|
| |
|
| |
|
|
|
|
|
| |
(http://open3dalign.org, http://open3dqsar.org)
|
|
|
|
|
|
|
|
| |
to be defined.
Check for fcntl.h and include it if we have it, not just on MSVC, now
that MinGW also defines O_BINARY in newer versions.
|
| |
|
| |
|
|
|