| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Added support for non-blocking sockets on Win32 as well
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Define a suitable constant for invalid socket handles, for use in
SocketStream.cpp
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
64-bit format fixes (Win32)
|
| |
|
|
|
|
|
|
|
| |
Initialise Windows sockets automatically for all daemons on Win32
Write PID files on Win32
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Don't include headers that we don't have
Open RAID files in binary mode
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
be opened in binary mode on Win32 (refs #3)
|
| |
|
|
|
|
|
|
| |
otherwise reading from console can fail due to insufficient buffer size.
(refs #3)
|
| |
|
|
|
|
|
|
|
|
| |
Define O_BINARY to 0 (zero) if our platform doesn't have it (all except
Win32?) which enables us to reduce #ifdefs
(refs #3)
|
| |
|
|
|
|
|
| |
(refs #3)
|
| |
|
| |
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
| |
Fix format strings on Win32 (refs #3)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
| |
Close file before trying to apply attributes to it. Otherwise,
when we close it the timestamp will be updated on Win32 (refs #3)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
| |
Don't call geteuid() on Win32, since it's emulated, always returns
0, and I want to remove it entirely (refs #3)
|
|
|
|
|
| |
- Revert to trunk
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
- 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).
|
|
|
|
| |
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 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.
|
|
|
|
| |
is nasty so debug processes segfault on termination
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
that waste bandwidth and slow down backups (committing on behalf of chris)
|
| |
|
|
|
|
| |
with minor change to exception handling
|
|
|
|
| |
distribution
|
| |
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
NOTE: Needs testing on other platforms, especially BSD.
|