From 44cdeb70f7969a1123af3d5c05ab78ed68ed6a49 Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Tue, 20 Sep 2016 13:57:24 +0300 Subject: [PATCH 1/1] Ticket 37. #include , WriteTime() function defined added. --- stglibs/conffiles.lib/conffiles.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stglibs/conffiles.lib/conffiles.cpp b/stglibs/conffiles.lib/conffiles.cpp index ed2e4447..a9c3e555 100644 --- a/stglibs/conffiles.lib/conffiles.cpp +++ b/stglibs/conffiles.lib/conffiles.cpp @@ -35,6 +35,7 @@ #include // E* #include +#include #include #include @@ -345,6 +346,14 @@ param_val[param] = buf; changed = true; } //--------------------------------------------------------------------------- +void CONFIGFILE::WriteTime(const std::string & param, time_t val) +{ +std::stringstream ss; +ss<::const_iterator it(param_val.find(param)); -- 2.44.2