aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/io/FileOutputStream.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-25fs/io/FileOutputStream: fix wrong #ifdef WIN32Max Kellermann1-23/+3
2015-03-24fs/io/FileOutputStream: add method Tell()Max Kellermann1-0/+17
2015-03-24fs/io/FileOutputStream: seek end-of-file in AppendFileOutputStream ctorMax Kellermann1-0/+6
2015-03-23fs/io/FileOutputStream: add class AppendFileOutputStreamMax Kellermann1-0/+55
2015-03-23fs/io/FileOutputStream: move code to new class BaseFileOutputStreamMax Kellermann1-37/+33
2015-03-03fs/io/FileOutputStream: use class FileDescriptorMax Kellermann1-17/+14
2015-02-25fs/io/File{Reader,OutputStream}: convert path to UTF-8 for error messageMax Kellermann1-4/+11
2015-02-10fs/io/FileOutputStream: use CREATE_ALWAYS instead of TRUNCATE_EXISTINGMax Kellermann1-1/+1
Fixes yet another breakage of creating the database+state file on Windows.
2015-02-06fs/io/FileOutputStream: don't auto-delete file on WIN32Max Kellermann1-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-14fs/io/FileOutputStream: add static method Create()Max Kellermann1-0/+12
2015-01-06fs/io/FileOutputStream: use O_TMPFILE if availableMax Kellermann1-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-05fs/io/File{Reader,OutputStream}: use OpenFile()Max Kellermann1-4/+3
2015-01-01Copyright year 2015Max Kellermann1-1/+1
2014-08-07fs/output, fs/TextFile: move to fs/io/Max Kellermann1-0/+0
2014-08-07fs/output/FileOutputStream: use open_cloexec()Max Kellermann1-3/+4
Support operating systems that don't have O_CLOEXEC.
2014-07-30fs/OutputStream: new infrastructure for writing to filesMax Kellermann1-0/+134