mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Pass a boost::filesystem's c_str() rv to the ofstream constructor to keep libstdc++ from transcoding it back to UTF8 and creating a broken name or failing to match the directory name. Implemented in gnc-filepath-utils to avoid spreading the boost::filesystem dependency throughout the code base. See https://github.com/boostorg/filesystem/issues/181 for why other approaches don't work.