From 0703f7a1acc9bf9512fdcad43a18a17981c8ca9e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 10 Apr 2017 13:18:48 +0200 Subject: Add fdstream::release() --- butl/fdstream.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'butl/fdstream.cxx') 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 () { -- cgit v1.1