From: Thomas Jarosch Date: Fri, 17 Sep 2010 13:54:33 +0000 (+0200) Subject: Adapt to new boost version X-Git-Tag: v2.6~102 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=ee8c8e76e1b5e4942afd7d5acc70c365b4b88bd4;p=libi2ncommon Adapt to new boost version --- diff --git a/configure.in b/configure.in index 92ccf37..01b23a5 100644 --- a/configure.in +++ b/configure.in @@ -1,7 +1,7 @@ AC_INIT(configure.in) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(libi2ncommon, 1.6) +AM_INIT_AUTOMAKE(libi2ncommon, 1.7) LIBI2NCOMMON_LIB_VERSION=2:0:0 diff --git a/src/tmpfstream_impl.hpp b/src/tmpfstream_impl.hpp index dafe706..514369b 100644 --- a/src/tmpfstream_impl.hpp +++ b/src/tmpfstream_impl.hpp @@ -74,7 +74,7 @@ bool tmpfstreamTempl::open(const std::string& tmpnametemplate, if (fd==-1) return false; - boost::iostreams::stream::open(Device(fd,true), + boost::iostreams::stream::open(Device(fd, boost::iostreams::close_handle), buffer_size,pback_size); return tmpfstreamTempl::is_open();