[1.38][any][thread] Release notes

Hi, I've added release notes for these libraries. I don't really know the story behind these changes, so if the libraries' maintainers or an interested user wants to check them, they're at: http://beta.boost.org/users/news/version_1_38_0#version_1_38_0.updated_libra... thanks, Daniel

----- Original Message ----- From: "Daniel James" <daniel_james@fmail.co.uk> To: <boost@lists.boost.org> Sent: Saturday, February 07, 2009 3:18 PM Subject: [boost] [1.38][any][thread] Release notes
Hi,
I've added release notes for these libraries. I don't really know the story behind these changes, so if the libraries' maintainers or an interested user wants to check them, they're at:
http://beta.boost.org/users/news/version_1_38_0#version_1_38_0.updated_libra...
This is perfect, thanks, Vicente

----- Original Message ----- From: "vicente.botet" <vicente.botet@wanadoo.fr> To: <boost@lists.boost.org> Sent: Saturday, February 07, 2009 3:41 PM Subject: Re: [boost] [1.38][any][thread] Release notes
----- Original Message ----- From: "Daniel James" <daniel_james@fmail.co.uk> To: <boost@lists.boost.org> Sent: Saturday, February 07, 2009 3:18 PM Subject: [boost] [1.38][any][thread] Release notes
Hi,
I've added release notes for these libraries. I don't really know the story behind these changes, so if the libraries' maintainers or an interested user wants to check them, they're at:
http://beta.boost.org/users/news/version_1_38_0#version_1_38_0.updated_libra...
This is perfect,
I have just do a check on the last closed tickets. lexical_cast: #1220 lexical_cast requires RTTI serialization #2697 Bug in the changeset 49264 #2695 Missing semicolon in boost/archive/codecvt_null.hpp:28 spirit #2510 Document Corrections for the Spirit Introduction Page #2488 [spirit] patch so spirit2 uses the released version of Proto (v4) system #2663 [patch] declare Blackfin endian units #2536 cxxabi.h not available with non-GNU library wave #2625 Wave patch for improved NetBSD/pkgsrc Best, Vicente

Hi, boost::gregorian::to_tm() initializes some fields of struct tm, but not all. Implementations keep there additional fields. Besides the fields defined by POSIX libc2.9 has two additional fields in struct tm: struct tm { ... #ifdef __USE_BSD long int tm_gmtoff; /* Seconds east of UTC. */ __const char *tm_zone; /* Timezone abbreviation. */ #else long int __tm_gmtoff; /* Seconds east of UTC. */ __const char *__tm_zone; /* Timezone abbreviation. */ #endif }; There are two additional fields tm_gmtoff and tm_zone. boost::gregorian::to_tm() does not initialize tm_zone and tm_gmtoff. There are functions as well which use these additional fields. E.g. this is a piece of code from the implementation of strftime() from libc2.9: static size_t __strftime_internal (s, maxsize, format, tp, tzset_called ut_argument ... { ... zone = (const char *) tp->tm_zone; #endif #if HAVE_TZNAME if (ut) { if (! (zone && *zone)) zone = "GMT"; } ... } This function dereferences tp->tm_zone. I have not created a ticker since this could be an already known issue. BR, Dmitry

Dmitry Goncharov wrote:
Hi,
boost::gregorian::to_tm() initializes some fields of struct tm, but not all. Implementations keep there additional fields. Besides the fields defined by POSIX libc2.9 has two additional fields in struct tm: struct tm { ... #ifdef __USE_BSD long int tm_gmtoff; /* Seconds east of UTC. */ __const char *tm_zone; /* Timezone abbreviation. */ #else long int __tm_gmtoff; /* Seconds east of UTC. */ __const char *__tm_zone; /* Timezone abbreviation. */ #endif };
There are two additional fields tm_gmtoff and tm_zone. boost::gregorian::to_tm() does not initialize tm_zone and tm_gmtoff. There are functions as well which use these additional fields. E.g. this is a piece of code from the implementation of strftime() from libc2.9:
static size_t __strftime_internal (s, maxsize, format, tp, tzset_called ut_argument ... { ... zone = (const char *) tp->tm_zone; #endif #if HAVE_TZNAME if (ut) { if (! (zone && *zone)) zone = "GMT"; } ... } This function dereferences tp->tm_zone.
I have not created a ticker since this could be an already known issue.
I believe, this is mentioned here: https://svn.boost.org/trac/boost/ticket/1859 This issue is not fixed yet.

Daniel James <daniel_james@fmail.co.uk> writes:
I've added release notes for these libraries. I don't really know the story behind these changes, so if the libraries' maintainers or an interested user wants to check them, they're at:
http://beta.boost.org/users/news/version_1_38_0#version_1_38_0.updated_libra...
Thanks for updating the thread release notes. Anthony -- Author of C++ Concurrency in Action | http://www.manning.com/williams just::thread C++0x thread library | http://www.stdthread.co.uk Just Software Solutions Ltd | http://www.justsoftwaresolutions.co.uk 15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976
participants (5)
-
Andrey Semashev
-
Anthony Williams
-
Daniel James
-
Dmitry Goncharov
-
vicente.botet