summaryrefslogtreecommitdiff
path: root/lib/intercept
Commit message (Collapse)AuthorAge
* Replace all remaining use of TRACEx() macros with logging framework.Chris Wilson2008-03-29
| | | | | Remove the old TRACEx macros to catch any remaining uses.
* Fix raidfile tests on FreeBSD 7Chris Wilson2008-01-23
|
* 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).
* Fix readdir() intercept on FreeBSD by fixing the check for redefinedChris Wilson2007-12-16
| | | | | readdir (from Linux).
* 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.
* Indent cleanup (refs #3)Chris Wilson2007-03-24
|
* Compile fix for platforms without intercept capability (refs #3)Chris Wilson2006-12-29
|
* Added a header file for including in test/bbackupd/testbbackupd.cpp and Chris Wilson2006-12-03
| | | | | | | | | other modules which might need intercepts in future. Added opendir/readdir and lstat hook capability. (refs #3, refs #9)
* Added ability for delay intercepts to fire multiple times.Chris Wilson2006-11-28
| | | | | Added test for repeat keepalives to test/bbackupd.
* Moved intercept code to a library module to allow it to be used by Chris Wilson2006-11-26
test/bbackupd as well (refs #3)