summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
...
* Fix raidfile tests on FreeBSD 7Chris Wilson2008-01-23
|
* Detect whether struct DIR has d_fd or dd_fd member and define theChris Wilson2008-01-22
| | | | | dirfd() macro accordingly.
* memleakfinder_atexit() should be extern "C" to silence warnings.Chris Wilson2008-01-22
|
* Silence const char warnings, part deux.Chris Wilson2008-01-22
|
* Use const char pointers to silence sun CC warnings.Chris Wilson2008-01-22
|
* Fix DIRFD properlyChris Wilson2008-01-21
|
* Fix the test for HAVE_DECL_DIRFD, which is 0 on solaris, not undefined.Chris Wilson2008-01-20
| | | | | (I love the consistency of autotools).
* Update copyright to 2008.Chris Wilson2008-01-12
|
* Print the path of the current/default configuration file in usage.Chris Wilson2008-01-05
|
* If the address of opendir64() is NULL that is NOT a good sign, Chris Wilson2008-01-03
| | | | | regardless of whether dlerror() thinks that everything is just rosy.
* Use 64-bit versions of directory functions if we can find them, and ifChris Wilson2008-01-03
| | | | | | | we're compiling with large file support, otherwise fall back to 32-bit versions. Hopefully fixes problems with FreeBSD without breaking other platforms (raidfile tests pass on freebsd).
* Search for readdir64 and stat64 if LARGE_FILE_SUPPORT is enabled, ratherChris Wilson2007-12-18
| | | | | | than relying on Linux redirection macros that aren't present on Slackware (which uses asm redirects instead).
* Pass test options to test daemons.Chris Wilson2007-12-16
|
* Fix readdir() intercept on FreeBSD by fixing the check for redefinedChris Wilson2007-12-16
| | | | | readdir (from Linux).
* Log sleep time and resleeps in safe_sleep (only used in tests).Chris Wilson2007-12-15
|
* Don't log our own timestamp now that Logging can do it for us withChris Wilson2007-12-15
| | | | | microsecond precision.
* Allow logging with microsecond timestamps.Chris Wilson2007-12-15
|
* Report reason why killing a process failed.Chris Wilson2007-12-15
|
* Fix definition of dirfd(x) macro (autoconf doesn't like defining macrosChris Wilson2007-12-15
| | | | | with parameters).
* Restructure intercept_errornow() for clarity.Chris Wilson2007-12-13
| | | | | | | | | | | | | Move delay code out of macro and into intercept_errornow() to simplify macro. Clear hook functions in intercept_clear_setup(). Check that intercept_filename is not NULL before comparing it with anything. Change some TRACEx macros to BOX_TRACE.
* Use new logging framework for tracing diffs.Chris Wilson2007-12-06
| | | | | Log each block found and each false match at DEBUG level.
* Enable TRACE logging in release builds, but make it really cheapChris Wilson2007-12-04
| | | | | when disabled.
* Make ExtendedLogging use the logging framework so that we can viewChris Wilson2007-12-04
| | | | | the logs on the console along with other debug output.
* Slightly improve output from waiting methods.Chris Wilson2007-12-02
|
* Don't crash when trying to cleanup timers a second time (or if neverChris Wilson2007-12-02
| | | | | initialised) in release mode.
* Fix getopt reset for solaris and maybe other platforms. SeeChris Wilson2007-11-07
| | | | | http://lists.debian.org/debian-glibc/2004/10/msg00070.html.
* Use lstat() instead of stat() to check whether a file exists. Thanks toChris Wilson2007-11-05
| | | | | | | | Hans-Joachim Baader for reporting this problem. (http://lists.warhead.org.uk/pipermail/boxbackup/2007-November/003958.html) Add a test that symlinks are not followed during restore.
* Really fix unlink() during restore, fixes [1919].Chris Wilson2007-11-04
|
* Allow ObjectExists() to take a std::string instead of just char *.Chris Wilson2007-11-04
|
* unlink returns 0 on success, not on error.Chris Wilson2007-11-04
|
* Make sync_and_wait() do what it's supposed to, not just force a sync.Chris Wilson2007-11-04
|
* Log an error if we fail to open the lockfile.Chris Wilson2007-11-04
|
* Ignore time differences less than 1 second when comparing attributes,Chris Wilson2007-11-04
| | | | | as not all filesystems can store times that accurately (e.g. OSX).
* Receiving a connection is not an error.Chris Wilson2007-11-04
|
* Move sync helper functions from test/bbackupd to Test.h to share withChris Wilson2007-11-04
| | | | | other tests, particularly test/backupstorefix.
* sigemptyset() is a macro on OSX 10.3, so don't prepend ::Chris Wilson2007-11-03
|
* Bite the bullet and use sigaction() instead, since [1803] shows thatChris Wilson2007-10-22
| | | | | | signal() works badly on SuckOS, and James reports that BSD doesn't have sigset().
* Compile fix for MSVC (Gary) (merges [1861])Chris Wilson2007-10-17
|
* Make detailed timer debugging work on Windows as well.Chris Wilson2007-10-17
| | | | | | | Add a couple of macros to clean up the code. (merges [1857])
* Add "-h" and "/?" options to display usage in Daemon.Chris Wilson2007-10-17
| | | | | | | | | Extend usage info with service commands in BackupDaemon. Disable useless -D, -V and -k options on Windows. (merges 1855])
* Make Main(), GetOptionString() and ProcessOption virtual so that theyChris Wilson2007-10-17
| | | | | can actually be overridden. (merges [1852])
* Report more useful error messages on connect() failure on Windows. Chris Wilson2007-10-17
| | | | | (merges [1851])
* Compile fix. (merges [1850])Chris Wilson2007-10-17
|
* Refactor out command-line option processing, so that it can be extendedChris Wilson2007-10-17
| | | | | by subclasses. (merges [1849])
* Fix compilation on MinGW. Not yet actually used on MinGW due to theChris Wilson2007-10-17
| | | | | | file extension, but it might be soon, if the default implementation doesn't do what I want. (merges [1848])
* Added function to set the named pipe name, for use by any test which Chris Wilson2007-10-17
| | | | | calls HUPServer() or SendCommands(). (merges [1836])
* Remove default pipe name to prevent applications from using it. (merges Chris Wilson2007-10-17
| | | | | [1835])
* Don't disable logging on Win32 console. (merges [1834])Chris Wilson2007-10-17
|
* Prepend the system-required prefix to the named pipe name from theChris Wilson2007-10-17
| | | | | configuration file. (merges [1833])
* Fix double backslashesChris Wilson2007-10-08
|