| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
64 bits.
|
|
|
|
|
| |
*, for convenience and C++ style.
|
|
|
|
|
|
|
|
| |
for inode numbers on Windows, resulting in all inode numbers being
coerced into 2^16 space and many duplicates on systems with large
numbers of files being backed up, possibly resulting in store
corruption due to unwanted file rename operations.
|
|
|
|
|
| |
synthetic) in winerrno, to enable better error handling outside.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in C++ style.
Add a function to get default config file paths at runtime, dependent on
the location of the executable being run.
Pass the config file name directly to Daemon::Main, instead of faking argv.
No default raid file path at compile time on Windows, depends on
executable location when run.
Determine RaidFile path at runtime if not supplied in config file
on Windows.
Don't define default locations for config files at compile time on Windows,
provide macros to determine them at runtime instead.
Make FileHandleGuard take a std::string instead of a char array, C++ style.
Determine config file location at runtime instead of hard-coding on
Windows. Thanks to Paul MacKenzie, Per Thomsen, Pete Jalajas, Stuart
Sanders, Dave Bamford and Gary for pushing me to do this. (fixes #12)
Determine config file path at runtime. Call Daemon::Main with config file
name instead of building fake argv.
(refs #3, merges [1684] [1685] [1686] [1687] [1688] [1689] [1690]
[1691] [1692])
|
|
|
|
|
| |
(refs #3, merges [1676])
|
|
|
|
|
| |
[1438])
|
|
|
|
|
| |
why they are being retained. (refs #3, related to [634])
|
| |
|
|
|
|
|
|
|
|
|
| |
Expose GetErrorMessage()
Improve comments
(refs #3, merges [1365])
|
|
|
|
|
|
| |
BoxPlatform.h when building with MSVC, and from the Makefiles when building
with MinGW. (refs #3, merges part of [634])
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
like we do on MSVC. This allows us to #undef them when we really need
to use the original platform function (if available).
Disable emulated fstat() in raidfile (and use the platform one) by undefining
fstat, since it doesn't use the other emulated file handling functions, or
need Unicode support, and it can't take a filehandle returned by open()
(only openfile()).
(refs #3, merges [1045])
|
| |
|
|
|
|
|
|
|
| |
MinGW compile fix
(refs #3, merges [775])
|
|
|
|
|
|
| |
reordered all typedefs to be clearer and more readable
(refs #3, merges [766])
|
|
|
|
|
|
|
| |
Add a new constant which specifies that files are to be locked open.
(refs #3, merges [1288])
|
|
|
|
|
|
| |
(needed to handle command lines with international encodings)
(refs #3, merges [1038])
|
| |
|
|
|
|
|
|
| |
Remove inline ConvertFileTimeToTime_t, add prototypes for new versions
in emu.cpp
|
|
|
|
|
| |
Added prototypes for new emulated functions emu_utimes, readv and writev
|
|
|
|
|
| |
Remove more vestiges of old getopt
|
|
|
|
|
| |
Emulate readdir's d_type field
|
|
|
|
|
|
|
|
|
| |
Fixed looking up message source in syslog()
Flush stdout after writing to it
Allow syslog() to log to console even when openlog() has not been called
|
|
|
|
|
| |
Reorganise typedefs for clarity
|
|
|
|
| |
distribution
|
|
|