Re: [Boost-bugs] [Boost C++ Libraries] #10205: FileSystem runtime error: locale::facet::_S_create_c_locale name not valid

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10205: FileSystem runtime error: locale::facet::_S_create_c_locale name not valid
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-29 15:18:26


#10205: FileSystem runtime error: locale::facet::_S_create_c_locale name not valid
---------------------------+------------------------
  Reporter: sleary@… | Owner: bemandawes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.57.0 | Component: filesystem
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------
Changes (by bemandawes):

 * status: new => assigned
 * severity: Showstopper => Problem
 * milestone: To Be Determined => Boost 1.57.0

Comment:

 This ticket brings up several issues:

 Q. Should 'boost::filesystem::unique_path("/some/random/path/%%%%%%%")'
 work, even if the default locale is invalid (E.G. LANG=foo)?
 A. Yes. As of 1.57.0 final release, an default invalid locale should only
 cause a failure if a conversion is explicitly called for by user code.

 Action: fix unique_path code.

 Q. Should parent_path.patch be applied?
 A. No. That constructor should no longer be calling path::codecvt(), so an
 invalid locale should not cause a failure.

 Action: Should already be fixed in develop, but test on Linux just to be
 sure.

 Q. Should demo.cpp work, even on POSIX when the default locale is invalid?
 A. No. The call to path.wstring() is an explicit request for a conversion.

 Action: Check docs to see if requirement for valid locale is documented.

 I'll leave this ticket open until all the action items are completed. The
 target is 1.57.0, but time is very short.

 Thanks for the reports,

 --Beman

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10205#comment:4>
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:17 UTC