| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
rather than terminating. Useful for non-forking servers like bbstored on
Windows. (refs #3)
|
| |
|
| |
|
|
|
|
|
| |
can't be opened (refs #3)
|
| |
|
|
|
|
|
| |
the server process, on platforms where forking is disabled (Win32). (refs #3)
|
| |
|
|
|
|
|
|
|
|
| |
Re-enable locking code on Win32 (although it's never used).
Use InvisibleTempFileStream to ensure that the temporary file is always
deleted. (refs #3)
|
| |
|
|
|
|
|
|
|
| |
* Added InvisibleTempFileStream class and unit tests for it
* Use InvisibleTempFileStream instead of FileStream for temporary files
(refs #3)
|
|
|
|
|
|
| |
- Reinstate SendMessageToHousekeepingProcess() on Win32, but make it do
nothing (refs #3)
|
|
|
|
|
|
|
| |
- Delete the temporary file on Win32 just like on other platforms (note
that this reduces the guarantees that the file will be deleted,
especially if an exception is thrown, refs #819)
|
|
|
|
|
|
| |
- Use the same code for file names and file closing on other platforms
that's needed on Win32
|
|
|
|
|
|
|
| |
- Disable checks for inter-process messages on Win32 (there is only one
process)
- Close directory immediately after we finish reading it
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
* bin/bbstored/BBStoreDHousekeeping.cpp
- Split housekeeping process into separate initialisation, process loop
and run methods (we don't want the process loop on Win32)
|
|
|
|
|
| |
- Only include syslog.h if we have one
|
|
|
|
|
| |
- Removed SendMessageToHousekeepingProcess() on Win32, no longer needed
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
- Cast off_t to long long, in case they differ in size (e.g. Win32)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
- Only include <syslog.h> if we have it
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
|
|
| |
- Removed locking on Win32, there is no housekeeping process to lock
against
- Open files with O_BINARY on Win32
- Fixed a cosmetic spelling mistake in a comment
- Unlink file later on Windows, since we can't do it while it's open
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
- Can't unlink open files on Win32. This is not the correct fix, but it
does work around the problem.
- Only include syslog.h if we have it
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
| |
- This is my current patch queue. I think that all of these are safe
to apply. This is just under half of the pending changes in
chris/general (the easy half).
|
|
|
|
|
| |
This just renames all of the files that configure now substitutes - no changes to any of the files.
|
|
|
|
|
| |
configure now detects perl executable location and updates all scripts to use the correct path; also adds PERL_EXECUTABLE define to BoxConfig.h. makebuildenv.pl adds PERL define to all makefiles.
|
|
|
|
| |
with minor change to exception handling
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bin/bbstored/backupprotocol.txt
* bin/bbstored/BackupCommands.cpp
* bin/bbackupd/BackupClientContext.cpp
* bin/bbackupd/BackupClientContext.h
* bin/bbackupd/BackupClientDirectoryRecord.cpp
* bin/bbackupd/BackupDaemon.cpp
* lib/backupclient/BackupStoreFileDiff.cpp
* lib/backupclient/BackupDaemonConfigVerify.cpp
* lib/backupclient/BackupStoreFile.h
* test/backupstore/testbackupstore.cpp
* test/backupstorepatch/testbackupstorepatch.cpp
- Applied changes from chris/diff-timeout-and-ssl-keepalive
* test/backupdiff/testbackupdiff.cpp
- Fixed test to match new prototype for EncodeFileDiff
|
|
|
|
|
|
| |
Box time is always box_time_t
seconds is time_t
microseconds is uint64_t
|
|
|
|
| |
You may need a new checkout to see this.
|
|
|