gnucash master: [c++ options] Fix locale dependency in test-gnc-option-scheme-output.
John Ralls
jralls at code.gnucash.org
Thu Mar 2 15:34:11 EST 2023
Updated via https://github.com/Gnucash/gnucash/commit/1eecb9f5 (commit)
from https://github.com/Gnucash/gnucash/commit/e9f6bf7a (commit)
commit 1eecb9f5c0d50cd9f409177542f8295182c7f982
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Mar 2 12:19:19 2023 -0800
[c++ options] Fix locale dependency in test-gnc-option-scheme-output.
Created by using std::to_string() in GncOptionRangeValue::serialize.
It wraps sprintf that reads the locale. Use ostringstream instead.
Summary of changes:
bindings/guile/test/test-gnc-option-scheme-output.scm | 2 +-
libgnucash/engine/gnc-option-impl.cpp | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
More information about the gnucash-patches
mailing list