aboutsummaryrefslogtreecommitdiff
path: root/butl/fdstream
diff options
context:
space:
mode:
Diffstat (limited to 'butl/fdstream')
-rw-r--r--butl/fdstream5
1 files changed, 4 insertions, 1 deletions
diff --git a/butl/fdstream b/butl/fdstream
index bb5364b..49b3d4d 100644
--- a/butl/fdstream
+++ b/butl/fdstream
@@ -86,13 +86,16 @@ namespace butl
virtual int
sync ();
+ virtual std::streamsize
+ xsputn (const char_type*, std::streamsize);
+
private:
bool
save ();
private:
int fd_ = -1;
- char buf_[4096];
+ char buf_[8192];
};
// File stream mode.