diff --git a/tools/boostbook b/tools/boostbook index 2b41478df0..7f650958d2 160000 --- a/tools/boostbook +++ b/tools/boostbook @@ -1 +1 @@ -Subproject commit 2b41478df078578fb6bf287ffa53357b99a51e4d +Subproject commit 7f650958d2168ead0730f3ae429a266e3709631c diff --git a/tools/common/time_string.hpp b/tools/common/time_string.hpp deleted file mode 100644 index 7f112e6976..0000000000 --- a/tools/common/time_string.hpp +++ /dev/null @@ -1,53 +0,0 @@ -// ---- time_string: thin wrapper around std::strftime -------- // -// -// Copyright Gennaro Prota 2006 -// -// Distributed under the Boost Software License, Version 1.0. -// (See accompanying file LICENSE_1_0.txt or copy at -// http://www.boost.org/LICENSE_1_0.txt) -// -// ------------------------------------------------------------------ -// -// $Id$ - -#ifndef BOOST_TIME_STRING_HPP_GP_20060731 -#define BOOST_TIME_STRING_HPP_GP_20060731 - -#include -#include - -namespace boost { - -// Many of the boost tools just need a quick way to obtain -// a formatted "run date" string or similar. This is one. -// -// In case of failure false is returned and result is -// unchanged. -// -inline -bool time_string(std::string & result - , const std::string & format = "%X UTC, %A %d %B %Y") -{ - // give up qualifying names and using std::size_t, - // to avoid including "config.hpp" - using namespace std; - - const int sz = 256; - char buffer [ sz ] = { 0 }; - const time_t no_cal_time ( -1 ); - time_t tod; - - const bool ok = - time ( &tod ) != no_cal_time - && strftime( buffer, sz, format.c_str(), gmtime( &tod ) ) != 0 - ; - - if (ok) - result = buffer; - - return ok; -} - -} - -#endif // include guard diff --git a/tools/regression/doc/index.html b/tools/regression/doc/index.html index 58bbd9d0e2..deeb68d48d 100644 --- a/tools/regression/doc/index.html +++ b/tools/regression/doc/index.html @@ -21,8 +21,11 @@ reports.