summaryrefslogtreecommitdiff
path: root/lib/win32/emu.cpp
Commit message (Collapse)AuthorAge
* Fix two memory leaks and one buffer overflow in codepage conversion code.Chris Wilson2007-03-10
| | | | | (refs #3, merges [1340])
* Typo fix (refs #3)Chris Wilson2007-03-10
|
* We don't have access to DIRECTORY_SEPARATOR_ASCHAR in lib/win32Chris Wilson2007-03-10
| | | | | (refs #3, merges [1362])
* Fix handling of O_EXCL to behave just like Unix, not abused to lock files.Chris Wilson2007-03-10
| | | | | | | Add a new constant which specifies that files are to be locked open. (refs #3, merges [1288])
* Improve GetErrorMessage() by including the error number/code in the messageChris Wilson2007-03-10
| | | | | | (helps debugging on foreign langauge versions of Windows) (refs #3, merges [1364])
* Print localised error messages rather than error codes for all errorsChris Wilson2007-03-10
| | | | | (refs #3, merges [1046])
* Expanded character set conversion API to allow arbitrary conversionsChris Wilson2007-03-10
| | | | | | (needed to handle command lines with international encodings) (refs #3, merges [1038])
* We can't use lib/common here, so we don't have ASSERT() (refs #3)Chris Wilson2007-03-10
|
* Our timer code only supports ITIMER_REAL (refs #3)Chris Wilson2007-03-10
|
* Always include process.h, as we don't know whether it was detected or notChris Wilson2007-03-10
| | | | | (we don't have access to lib/common/BoxConfig.h in lib/win32) (refs #3)
* Detect reparse points and change the device number (refs #3)Chris Wilson2007-01-15
|
* Protect against double initialisation of win32 timersChris Wilson2006-11-06
|
* * Added support for Win32 temporary filesChris Wilson2006-10-13
| | | | | | | * Added InvisibleTempFileStream class and unit tests for it * Use InvisibleTempFileStream instead of FileStream for temporary files (refs #3)
* (refs #3)Chris Wilson2006-09-04
| | | | | | | Changed WideSize from int to size_t Don't allow space for null terminator that will not be added
* (refs #3)Chris Wilson2006-09-04
| | | | | Emulate readdir's d_type field
* (refs #3)Chris Wilson2006-09-04
| | | | | Emulated chdir, mkdir and unlink should handle file names in UTF-8 as well
* (refs #3)Chris Wilson2006-09-04
| | | | | | | | | 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
* (refs #3)Chris Wilson2006-09-03
| | | | | Improved poll() emulation to handle multiple fds
* (refs #3)Chris Wilson2006-09-03
| | | | | Removed last vestiges of old getopt()
* (refs #3)Chris Wilson2006-09-03
| | | | | | | | Added emulated utimes, chmod, readv and writev Added useful utility functions ConvertFileTimeToTime_t and ConvertTime_tToFileTime
* (refs #3)Chris Wilson2006-09-03
| | | | | Treat PATH_NOT_FOUND just like FILE_NOT_FOUND in Unix land (errno = ENOENT)
* (refs #3)Chris Wilson2006-09-03
| | | | | Request READ_CONTROL when standard open fails, rather than no flags
* (refs #3)Chris Wilson2006-09-03
| | | | | Pass requested open flags to OpenFileByNameUtf8
* (refs #3)Chris Wilson2006-09-03
| | | | | | | | | | 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)
* (refs #3)Chris Wilson2006-09-03
| | | | | Improved error handling in emu_fstat
* (refs #3)Chris Wilson2006-09-03
| | | | | Improved handling of UNIX flags to openfile(), allows multiple opens
* (refs #3)Chris Wilson2006-09-03
| | | | | Return INVALID_HANDLE_VALUE instead of NULL from openfile() on failure
* (refs #3)Chris Wilson2006-09-03
| | | | | Convert UNIX to native paths
* (refs #3)Chris Wilson2006-09-02
| | | | | Use our own ConvertUtf8ToWideString for simplicity
* (refs #3)Chris Wilson2006-09-02
| | | | | Include message resource definitions
* (refs #3)Chris Wilson2006-09-02
| | | | | Remove dependency on Box.h and hence on lib/common
* 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)
* Merge chris/win32/vc2005-compile-fixes @ r455, add infrastructure/msvc to ↵Ben Summers2006-02-13
| | | | distribution
* * infrastructure/makeparcels.plChris Wilson2006-01-28
| | | | | | | | | | | | | | | | | | | | | | | - Use the target platform's name, rather than the build platform, in the generated package file names (useful for cross-compiling) * lib/win32/emu.cpp - Don't log a warning when statting a file that doesn't exist, as bbackupquery does this to verify that the target does not exist before restoring * lib/backupclient/BackupClientFileAttributes.cpp - Fixed a missing endian conversion that was causing file timestamps to appear to be invalid, generating warnings about every file on the server, on Win32 * parcels.txt - Include a couple of DLL files in the package on MinGW, which are needed to run the compiled binaries * bin/bbackupquery/BackupQueries.cpp - Fixed usage text for the "get" command
* Marged chris/win32/merge/07-win32-fixes at r210 to trunkMartin Ebourne2005-12-12