| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
| |
Fixes test failures caused by using seconds since epoch on Windows, instead
of a box_time_t, and rounding it to the nearest 10^6, which is fine for a
box_time_t (all other platforms), but 10^6 seconds is a rather long time to
ignore changes for on Windows.
This also makes it possible to support subsecond precision on Windows
via FileModificationTime() in future, and have RaidFile detect such subsecond
changes.
|
|
|
|
|
| |
Should make the Travis logs shorter and more readable.
|
|
|
|
|
| |
Use the new macros to ensure that exceptions contain a message and filename,
following the new standard format.
|
|
|
|
|
|
|
| |
On Windows, plain stat() no longer handles slashes in filenames correctly
(since upgrading MinGW? Or switching to 64-bit Windows?). We need to use
POSIX fstat() for now in RaidFile, but we can still use the emu_stat,
and in fact we should, to fix path translation.
|
| |
|
|
|
|
|
|
|
|
|
| |
We simulate a 1 second accuracy clock in DEBUG mode on all systems, to help
catch corner cases in tests. This now applies to both RAID and non-RAID files.
We always add file size to the version number to help detect changes,
especially in such cases. In RELEASE builds, we use as much accuracy from the
clock as we can get, as well as file size.
|
|
|
|
|
|
| |
Hopefully all of these changes are inconsequential.
Merged back changes from the test refactor branch to reduce diffs.
|
|
|
|
|
|
|
|
| |
If the system is suspended then it may not realise that a TCP connection has
been closed, while waiting for data to arrive on it. We didn't used to apply
a timeout to this read operation. Now we use the connection's default timeout
on all read and write operations. Network operations that don't pass a timeout
will be logged with a backtrace, so that they can be fixed.
|
|
|
|
|
| |
Useful to help debug problems such as invalid file headers when the source
of the stream might not be too obvious.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
configured.
|
| |
|
| |
|
|
|
|
| |
compile issue.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
correct before overwriting or deleting it.
|
| |
|
| |
|
|
|
|
|
| |
/etc/boxbackup, thanks to Reinhard Tartler and the Debian Project.
|
|
|
|
|
|
|
|
| |
project. See also:
http://patch-tracking.debian.net/package/boxbackup/0.11~rc2+r2072-1
http://lists.warhead.org.uk/pipermail/boxbackup/2009-April/005159.html
|
| |
|
|
|
|
|
| |
64 bits.
|
|
|
|
|
|
| |
well (e.g. wxWidgets) and it causes conflicts which are difficult to
resolve.
|
|
|
|
|
| |
disc sets before adding new ones.
|
| |
|
| |
|
|
|
|
|
| |
(http://www.t2-project.org/packages/boxbackup.html)
|
|
|
|
|
| |
does not exist, to help server operators to figure out what's wrong.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Import of the upstream sources from
Repository: http://localhost:8000/
Kind: hg
Revision: 7807b7768163f1c2537756abe5416063989cebb1
Original author: tailor@rocio.int.aidworld.org
Date: 2008-03-16 19:44:36+00:00
|
|
|
|
|
| |
Remove the old TRACEx macros to catch any remaining uses.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(bbackupd and bbackupquery).
Redesign ConfigurationVerify to use classes instead of structs.
Use port 22011 instead of 2201 during tests, to reduce the chances of
conflicting with a running bbstored or other process.
Ignore autogen_* in svn:ignore everywhere instead of individual per-file
ignores.
|
|
|
|
|
|
|
|
|
|
| |
better on machines which claim to support high-res timestamps but actually
don't (e.g. Linux, MacOS X).
Never do so in debug mode, to help catch problems with the tests failing
to sleep long enough between operations on different connections that
can break caching subtly and randomly.
|
|
|
|
|
|
|
| |
Add some missing semicolons (optional but nicer).
Reformat usage message for readability.
|
|
|
|
|
| |
instead. (refs #3)
|
| |
|
|
|
|
|
| |
char array, in C++ style. (refs #3, merges [1683])
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
emulated version.
Small code cleanup. (refs #3)
|
|
|
|
|
|
|
|
|
|
|
| |
Open files in binary mode (Win32)
Disable the lock failure block when we don't have any locking mechanism
Close and delete files before renaming over them on Win32. This breaks
Ben's desired recovery semantics, so it's not done on other platforms,
but Win32 requires it.
|
| |
|