Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-02-25 | fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error message | Max Kellermann | 1 | -4/+11 | |
2015-02-10 | fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTING | Max Kellermann | 1 | -1/+1 | |
Fixes yet another breakage of creating the database+state file on Windows. | |||||
2015-02-06 | fs/io/FileOutputStream: don't auto-delete file on WIN32 | Max Kellermann | 1 | -0/+2 | |
The file handle is never reset to INVALID_HANDLE_VALUE, and thus the destructor will assume the operation shall be cancelled and will delete the temporary file. This was a major breakage for saving the database file and the state file. | |||||
2015-01-14 | fs/io/FileOutputStream: add static method Create() | Max Kellermann | 1 | -0/+12 | |
2015-01-06 | fs/io/FileOutputStream: use O_TMPFILE if available | Max Kellermann | 1 | -7/+59 | |
The Linux feature allows writing new files to an invisible file, and then replace the old file. This preserves the old file if we get interrupted by some event. | |||||
2015-01-05 | fs/io/File{Reader,OutputStream}: use OpenFile() | Max Kellermann | 1 | -4/+3 | |
2015-01-01 | Copyright year 2015 | Max Kellermann | 1 | -1/+1 | |
2014-08-07 | fs/output, fs/TextFile: move to fs/io/ | Max Kellermann | 1 | -0/+0 | |
2014-08-07 | fs/output/FileOutputStream: use open_cloexec() | Max Kellermann | 1 | -3/+4 | |
Support operating systems that don't have O_CLOEXEC. | |||||
2014-07-30 | fs/OutputStream: new infrastructure for writing to files | Max Kellermann | 1 | -0/+134 | |