Boost C++ Libraries: Ticket #2682: endpoint operator << is locale dependent https://svn.boost.org/trac10/ticket/2682 <p> The operator&lt;&lt; implementation in boost/asio/ip/basic_endpoint.hpp uses the ostream to convert the port into a string. This conversion depends on the current locale. Some locales adds periods ('.') as thousand separators when integers are converted to a string. </p> <p> A port number higher than 999 would on such a system render '1.000' which is most likely not what you want when converting endpoints to strings. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2682 Trac 1.4.3 chris_kohlhoff Thu, 09 Apr 2009 12:22:45 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2682#comment:1 https://svn.boost.org/trac10/ticket/2682#comment:1 <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">fixed</span> </li> </ul> <p> Fixed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/52288" title="Prevent locales from affecting the formatting of endpoints. Fixes #2682. ">[52288]</a>. </p> Ticket chris_kohlhoff Fri, 10 Apr 2009 23:45:01 GMT <link>https://svn.boost.org/trac10/ticket/2682#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2682#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/52309" title="Merged revisions 52288-52294 via svnmerge from ...">[52309]</a>) Merged revisions 52288-52294 via svnmerge from <a class="ext-link" href="https://svn.boost.org/svn/boost/trunk"><span class="icon">​</span>https://svn.boost.org/svn/boost/trunk</a> </p> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52288" title="Prevent locales from affecting the formatting of endpoints. Fixes #2682. ">r52288</a> | chris_kohlhoff | 2009-04-09 21:50:42 +1000 (Thu, 09 Apr 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Prevent locales from affecting the formatting of endpoints. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2682" title="#2682: Bugs: endpoint operator &lt;&lt; is locale dependent (closed: fixed)">#2682</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52289" title="Correct documentation of read, read_at, write and write_at functions ...">r52289</a> | chris_kohlhoff | 2009-04-09 22:00:36 +1000 (Thu, 09 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Correct documentation of read, read_at, write and write_at functions to match new <a class="missing wiki">CompletionCondition</a> concept. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2871" title="#2871: Bugs: asio async_read/async_write CompletionCondition inconsistency (closed: fixed)">#2871</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52290" title="Fix some warnings that occur with MSVC at warning level 4. Fixes #2828. ">r52290</a> | chris_kohlhoff | 2009-04-09 22:03:01 +1000 (Thu, 09 Apr 2009) | 2 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix some warnings that occur with MSVC at warning level 4. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2828" title="#2828: Bugs: win_iocp_overlapped_ptr::complete warning (closed: fixed)">#2828</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52291" title="As a performance optimisation, add an explicit check for an empty ...">r52291</a> | chris_kohlhoff | 2009-04-09 22:04:39 +1000 (Thu, 09 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> As a performance optimisation, add an explicit check for an empty vector of timer queues. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52292" title="Implement automatic resizing of the bucket array in the internal hash ...">r52292</a> | chris_kohlhoff | 2009-04-09 22:09:16 +1000 (Thu, 09 Apr 2009) | 6 lines </p> </blockquote> <p> </p> <blockquote> <p> Implement automatic resizing of the bucket array in the internal hash maps. This is to improve performance for very large numbers of asynchronous operations and also to reduce memory usage for very small numbers. A new macro BOOST_ASIO_HASH_MAP_BUCKETS may be used to tweak the sizes used for the bucket arrays. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52293" title="Prevent memory leaks when an async SSL operation's completion handler ...">r52293</a> | chris_kohlhoff | 2009-04-09 22:12:50 +1000 (Thu, 09 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Prevent memory leaks when an async SSL operation's completion handler throws. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2910" title="#2910: Bugs: asio &amp; ssl - leaking io_handler when user-provided handler throws (closed: fixed)">#2910</a>. </p> </blockquote> <p> ........ </p> <blockquote> <p> <a class="changeset" href="https://svn.boost.org/trac10/changeset/52294" title="Fix implementation of io_control() so that it adheres to the type ...">r52294</a> | chris_kohlhoff | 2009-04-09 22:16:02 +1000 (Thu, 09 Apr 2009) | 3 lines </p> </blockquote> <p> </p> <blockquote> <p> Fix implementation of io_control() so that it adheres to the type requirements for <a class="missing wiki">IoControlCommand</a>. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2820" title="#2820: Bugs: ASIO IoControlCommand Type Requirement needs undocumented expression get() (closed: fixed)">#2820</a>. </p> </blockquote> <p> ........ </p> </description> <category>Ticket</category> </item> </channel> </rss>