| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
|
|
|
|
|
|
|
| |
clean up reported memory leaks
* No need to initialise Winsock here, now that lib/server/Daemon does it
for us
* Initialise logging properly (refs #3)
|
| |
|
|
|
|
|
|
| |
statting the entry, which allows users to exclude unreadable entries to
suppress warnings about them on Win32 (refs #3)
|
| |
|
| |
|
|
|
|
|
|
|
| |
* Added InvisibleTempFileStream class and unit tests for it
* Use InvisibleTempFileStream instead of FileStream for temporary files
(refs #3)
|
|
|
|
|
| |
handles under Win32 (refs #3)
|
|
|
|
|
| |
* Updated detection of pcreposix installation to match static libraries
|
|
|
|
|
| |
* Created directory for mingw compile utilities, added configure script
|
|
|
|
|
|
|
| |
Changed WideSize from int to size_t
Don't allow space for null terminator that will not be added
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Use INVALID_HANDLE_VALUE instead of NULL for invalid handles on Win32
|
|
|
|
|
| |
Return INVALID_HANDLE_VALUE instead of NULL from openfile() on failure
|
|
|
|
|
| |
Convert UNIX to native paths
|
|
|
|
|
| |
Use our own ConvertUtf8ToWideString for simplicity
|
|
|
|
|
| |
Add BSD-licensed getopt.h to replace our own version
|
|
|
|
|
| |
Include message resource definitions
|
|
|
|
|
| |
Add message definitions and resource files
|
|
|
|
|
| |
Remove dependency on Box.h and hence on lib/common
|
|
|
|
|
| |
Reorganise typedefs for clarity
|
|
|
|
|
| |
Automatically initialise Windows sockets for all tests
|
|
|
|
|
| |
Sleep without nanosleep() on Win32
|
| |
|
|
|
|
|
| |
Use RunCommand instead of ::system to convert UNIX paths to native
|
|
|
|
|
|
| |
Don't check for memory leaks on Win32, since the process is force killed
and doesn't have a chance to write the log file.
|
|
|
|
|
|
| |
Cannot signal bbstored to housekeep immediately on Win32, so just wait
for it to happen.
|
|
|
|
|
| |
Fix format strings on Win32
|
|
|
|
|
| |
Initialise Windows sockets on Win32
|
| |
|
|
|
|
|
| |
Call RunCommand() instead of ::system to handle native paths better
|
|
|
|
|
|
| |
Added a RunCommand() function which converts UNIX paths to native before
calling ::system() on Win32.
|
|
|
|
|
| |
Remove newlines from output to avoid failure to recognise it on Win32
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Disable tests for memory leaks after killing bbstored on Win32, since
it dies forcibly without a chance to write the memory leak file.
Initialise Windows sockets on Win32
Add tests for multiply open files on Win32
|