Subject: [Boost-bugs] [Boost C++ Libraries] #3334: use of secure gmtime_s and localtime_s for vs2005 and up.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-11 12:58:26
#3334: use of secure gmtime_s and localtime_s for vs2005 and up.
-------------------------------+--------------------------------------------
Reporter: courteau@⦠| Owner: az_sw_dude
Type: Patches | Status: new
Milestone: Boost 1.40.0 | Component: date_time
Version: Boost 1.39.0 | Severity: Problem
Keywords: gmtime, localtime |
-------------------------------+--------------------------------------------
In the patch provided, a new implementation is made for vs2005 and up with
secure method. The _s methods are similar to the _r used on the unix-like
OS.
Also, with the previous implementation the buffer received was not filled,
only the return pointer was ok. This behavior was not as per the _r ones,
so I fixed it.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3334> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC