summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAge
* (refs #3)Chris Wilson2006-08-31
| | | | | Added support for non-blocking sockets on Win32 as well
* Revert to trunkChris Wilson2006-08-31
|
* Use INVALID_SOCKET_VALUE instead of -1Chris Wilson2006-08-31
|
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | Define a suitable constant for invalid socket handles, for use in SocketStream.cpp
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | | Added an OnIdle method which can be overridden by subclasses for idle tasks. Used for housekeeping on Win32. Avoid forking on Win32, and trying to clean up after children.
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | 64-bit format fixes (Win32)
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | Initialise Windows sockets automatically for all daemons on Win32 Write PID files on Win32
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | | | | | 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.
* Revert to trunkChris Wilson2006-08-31
|
* (refs #3)Chris Wilson2006-08-31
| | | | | | | Don't include headers that we don't have Open RAID files in binary mode
* Revert to trunkChris Wilson2006-08-31
|
* Disable all calls to set*id() on Win32 (doesn't work) (refs #3)Chris Wilson2006-08-31
|
* Revert to trunkChris Wilson2006-08-31
|
* Revert to trunkChris Wilson2006-08-31
|
* Add O_BINARY to default flags, since most files opened this way shouldChris Wilson2006-08-31
| | | | | be opened in binary mode on Win32 (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* Make FDGETLINE_BUFFER_SIZE big enough for one unicode character on Win32,Chris Wilson2006-08-31
| | | | | | otherwise reading from console can fail due to insufficient buffer size. (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* Disable intercept tests on Win32 as wellChris Wilson2006-08-31
| | | | | | | | Define O_BINARY to 0 (zero) if our platform doesn't have it (all except Win32?) which enables us to reduce #ifdefs (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slashChris Wilson2006-08-31
| | | | | (refs #3)
* Revert to trunkChris Wilson2006-08-31
|
* Use DIRECTORY_SEPARATOR instead of assuming that it's a forward slashChris Wilson2006-08-31
|
* * lib/backupstore/BackupStoreAccounts.cppChris Wilson2006-08-31
| | | | | - Revert to trunk
* * lib/backupclient/BackupStoreObjectDump.cppChris Wilson2006-08-31
| | | | | Fix format strings on Win32 (refs #3)
* * lib/backupclient/BackupStoreObjectDump.cppChris Wilson2006-08-31
| | | | | - Revert to trunk
* * lib/backupclient/BackupStoreFile.cppChris Wilson2006-08-31
| | | | | | Close file before trying to apply attributes to it. Otherwise, when we close it the timestamp will be updated on Win32 (refs #3)
* * lib/backupclient/BackupStoreFile.cppChris Wilson2006-08-31
| | | | | - Revert to trunk
* * lib/backupclient/BackupClientFileAttributes.cppChris Wilson2006-08-31
| | | | | | Don't call geteuid() on Win32, since it's emulated, always returns 0, and I want to remove it entirely (refs #3)
* * lib/backupclient/BackupClientFileAttributes.cppChris Wilson2006-08-31
| | | | | - Revert to trunk
* * lib/win32/WinNamedPipeStream.hChris Wilson2006-08-09
| | | | | | | | | * lib/win32/WinNamedPipeStream.cpp * lib/server/WinNamedPipeStream.h * lib/server/WinNamedPipeStream.cpp - Moved WinNamedPipeStream class from lib/win32 to lib/server, to resolve circular dependency between lib/common and lib/win32.
* * mergeChris Wilson2006-07-27
| | | | | | | - 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).
* Apply patch from Stuart Hickinbottom <stuarth@hickinbottom.demon.co.uk> to ↵Ben Summers2006-06-19
| | | | fix complication problems with gcc 4.1.1 where configure didn't detect LLONG_MAX properly. Fix by removing configure check completely, and using STL interface.
* This is part 2 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | This just renames all of the files that configure now substitutes - no changes to any of the files.
* This is part 1 of a patch from James O'Gorman.Martin Ebourne2006-03-04
| | | | | 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.
* Disable memory testing on Darwin -- order of destructors of static variables ↵Ben Summers2006-02-21
| | | | is nasty so debug processes segfault on termination
* On XFS the file permissions appear to apply also to the extended attribute ↵Martin Ebourne2006-02-17
| | | | | | | data. ie. If a file is not readable then nor is the extended attribute data - even if there isn't any this is still an error. This is not an ideal fix for this problem. Really we should notify a read-error as we do for file read permission problems and continue, but the BackupClientFileAttributes code is called from multiple locations and it is not clear that it could always report the error in such a way, nor even continue. This alternative is better than aborting the whole run. In the case where a file isn't readable this will be found and reported elsewhere anyway.
* Zero any unused fields in struct stat, to avoid spurious checksum mismatches ↵Ben Summers2006-02-14
| | | | that waste bandwidth and slow down backups (committing on behalf of chris)
* Update copyright notice, add SVN revision to distributed filesBen Summers2006-02-13
|
* Bandwidth usage logging patch from Pascal Lalonde <plalonde@overnet.qc.ca>, ↵Ben Summers2006-02-13
| | | | with minor change to exception handling
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* Change "PPC workaround" to use union instead of memcpy(). All tests now pass.Jonathan Morton2006-02-12
|
* This ppc problem is clearly a common big-endian platform issue.Martin Ebourne2006-02-12
| | | | | | Remove ppc hack and configure option. Replace dubious casts with clearer use of memcpy to make this work on all platforms all of the time. Note that there isn't really a call to memcpy, the compiler inlines it as 2 int copies which is an insignificant overhead (even true with -O0).
* Added workaround option for GCC on the PPC platform. This is a manually ↵Martin Ebourne2006-02-11
| | | | | | invoked option because I do not know under what circumstances (eg. versions etc) the problem occurs. If the raidfile test fails in release mode but passes in debug mode then try this option and see if it fixes it.
* Beef up configure checks for 64 bit endian swapping function.Martin Ebourne2006-02-03
| | | | NOTE: Needs testing on other platforms, especially BSD.