| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
*, for convenience and C++ style.
|
| |
|
|
|
|
|
| |
synthetic) in winerrno, to enable better error handling outside.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
all calls to SetProgramName, for better consistency on Unix.
Make bbstoreaccounts and bbackupctl set their program names for logging.
Don't override supplied tag with service name when BackupDaemon
is run as a service.
|
| |
|
| |
|
|
|
|
|
|
| |
international paths and filenames are displayed correctly.
(merges [1942])
|
|
|
|
|
|
|
|
|
|
|
| |
Improve error messages in EnableBackupRights() when failing to
enable the backup privilege.
Use file size returned by GetFileInformationByHandle in emu_fstat
instead of calling GetFileSizeEx(), thanks Charles!
Merges [1939].
|
|
|
|
|
| |
framework. (merges [1814])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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])
|
|
|
|
|
| |
merges [1661])
|
|
|
|
|
|
| |
reported by Pete Jalajas
(http://lists.warhead.org.uk/pipermail/boxbackup/2007-July/003668.html)
|
|
|
|
|
|
|
|
|
| |
"sh" command (which doesn't like UNC paths).
Fix error messages by removing surplus newline kindly added by Windows.
(refs #3, merges [1514] and [1569])
|
| |
|
|
|
|
|
| |
(refs #3, merges [1462])
|
|
|
|
|
| |
[1438])
|
|
|
|
|
| |
(refs #3, merges [1340])
|
| |
|
|
|
|
|
| |
(refs #3, merges [1362])
|
|
|
|
|
|
|
| |
Add a new constant which specifies that files are to be locked open.
(refs #3, merges [1288])
|
|
|
|
|
|
| |
(helps debugging on foreign langauge versions of Windows)
(refs #3, merges [1364])
|
|
|
|
|
| |
(refs #3, merges [1046])
|
|
|
|
|
|
| |
(needed to handle command lines with international encodings)
(refs #3, merges [1038])
|
| |
|
| |
|
|
|
|
|
| |
(we don't have access to lib/common/BoxConfig.h in lib/win32) (refs #3)
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Added InvisibleTempFileStream class and unit tests for it
* Use InvisibleTempFileStream instead of FileStream for temporary files
(refs #3)
|
|
|
|
|
|
|
| |
Changed WideSize from int to size_t
Don't allow space for null terminator that will not be added
|
|
|
|
|
| |
Emulate readdir's d_type field
|
|
|
|
|
| |
Emulated chdir, mkdir and unlink should handle file names in UTF-8 as well
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Improved poll() emulation to handle multiple fds
|
|
|
|
|
| |
Removed last vestiges of old getopt()
|
|
|
|
|
|
|
|
| |
Added emulated utimes, chmod, readv and writev
Added useful utility functions ConvertFileTimeToTime_t and
ConvertTime_tToFileTime
|
|
|
|
|
| |
Treat PATH_NOT_FOUND just like FILE_NOT_FOUND in Unix land (errno = ENOENT)
|
|
|
|
|
| |
Request READ_CONTROL when standard open fails, rather than no flags
|
|
|
|
|
| |
Pass requested open flags to OpenFileByNameUtf8
|
|
|
|
|
|
|
|
|
|
| |
Always fill in st_uid, st_gid and st_nlink
Return zero size for directories
Improved emulation of Unix file modes (helps when restoring Windows files
on Unix)
|
|
|
|
|
| |
Improved error handling in emu_fstat
|
|
|
|
|
| |
Improved handling of UNIX flags to openfile(), allows multiple opens
|
|
|
|
|
| |
Return INVALID_HANDLE_VALUE instead of NULL from openfile() on failure
|
|
|
|
|
| |
Convert UNIX to native paths
|
|
|
|
|
| |
Use our own ConvertUtf8ToWideString for simplicity
|
|
|
|
|
| |
Include message resource definitions
|
|
|
|
|
| |
Remove dependency on Box.h and hence on lib/common
|
|
|
|
| |
that waste bandwidth and slow down backups (committing on behalf of chris)
|