Boost C++ Libraries: Ticket #1073: operations.cpp, dummy_first_name lifetime https://svn.boost.org/trac10/ticket/1073 <p> In operations.cpp, in the dir_itr_first function, there is a static std::string called dummy_first_name. If the user attempts directory iteration from the destructor of a global object, it fails because at that time the static std::string is already destroyed. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1073 Trac 1.4.3 emil@… Mon, 02 Jul 2007 15:15:27 GMT <link>https://svn.boost.org/trac10/ticket/1073#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1073#comment:1</guid> <description> <p> Sorry the bug is in boost::filesystem. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Peter Dimov</dc:creator> <pubDate>Tue, 10 Jul 2007 00:03:22 GMT</pubDate> <title>component changed; owner set https://svn.boost.org/trac10/ticket/1073#comment:2 https://svn.boost.org/trac10/ticket/1073#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Beman Dawes</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">filesystem</span> </li> </ul> Ticket Beman Dawes Sun, 26 Aug 2007 22:05:55 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1073#comment:3 https://svn.boost.org/trac10/ticket/1073#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">invalid</span> </li> </ul> <p> What version do you have? There is no such string in 1.34.0 and later, so I'm assuming you have an old version and so am closing the issue. </p> <p> --Beman </p> Ticket Peter Dimov Sun, 26 Aug 2007 22:17:42 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/1073#comment:4 https://svn.boost.org/trac10/ticket/1073#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">invalid</span> </li> </ul> <p> I see </p> <p> <code>static const std::string dummy_first_name( "." );</code> </p> <p> at operations.cpp:1185 in the trunk. </p> Ticket Beman Dawes Mon, 27 Aug 2007 12:25:28 GMT milestone changed; version set https://svn.boost.org/trac10/ticket/1073#comment:5 https://svn.boost.org/trac10/ticket/1073#comment:5 <ul> <li><strong>version</strong> → <span class="trac-field-new">Boost 1.34.1</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.35.0</span> </li> </ul> <p> Yep, I saw that too last night. I had been looking at the Windows code; the fix was needed in the POSIX code. </p> <p> In researching this further, I realized that revision 35823 inadvertently dropped fixes from the two prior revisions. I'm fixing those too. </p> <p> These fixes are going into branches/filesystem in a few minutes. I hope to merge that branch into the trunk later this week. </p> <p> Thanks, </p> <p> --Beman </p> Ticket Beman Dawes Tue, 28 Aug 2007 00:22:12 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1073#comment:6 https://svn.boost.org/trac10/ticket/1073#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> OK, the fixes were committed this morning. See revision 39002. I'm closing the ticket. </p> <p> --Beman </p> Ticket