aboutsummaryrefslogtreecommitdiff
path: root/butl/fdstream.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-10 13:18:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-10 13:18:48 +0200
commit0703f7a1acc9bf9512fdcad43a18a17981c8ca9e (patch)
tree06d7f888cd701c53b2c2aa0a2c6a11880ac596dd /butl/fdstream.cxx
parentd53c8a6ce3d868da66d97a9243365e88d0879343 (diff)
Add fdstream::release()
Diffstat (limited to 'butl/fdstream.cxx')
-rw-r--r--butl/fdstream.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/butl/fdstream.cxx b/butl/fdstream.cxx
index d841cc2..19ef6c5 100644
--- a/butl/fdstream.cxx
+++ b/butl/fdstream.cxx
@@ -149,17 +149,6 @@ namespace butl
fd_ = move (fd);
}
- void fdbuf::
- close ()
- {
- // Before we invented auto_fd into fdstreams we keept fdbuf opened on
- // faulty close attempt. Now fdbuf is always closed by close() function.
- // This semantics change seems to be the right one as there is no reason to
- // expect fdclose() to succeed after it has already failed once.
- //
- fd_.close ();
- }
-
streamsize fdbuf::
showmanyc ()
{