diff options
author | Julian Andres Klode <jak@debian.org> | 2015-12-27 14:29:01 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-12-27 16:23:32 +0100 |
commit | 88749b5dc18eb5708af20185e4339e76bda6fb72 (patch) | |
tree | ad65ee47d4e4277461a6e4cc83637b1fc746be0d /apt-pkg/contrib/fileutl.h | |
parent | 766761fd836d9e247daea924809965c21cc65dc7 (diff) |
FileFd: Add a buffered writing mode
This is somewhat experimental right now, and might not work
for everyone, so it is on an opt-in basis.
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index 8cfb2e989..8619047a0 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -66,6 +66,7 @@ class FileFd Exclusive = (1 << 3), Atomic = Exclusive | (1 << 4), Empty = (1 << 5), + BufferedWrite = (1 << 6), WriteEmpty = ReadWrite | Create | Empty, WriteExists = ReadWrite, |