gnucash maint: Multiple changes pushed
Geert Janssens
gjanssens at code.gnucash.org
Sat May 5 07:43:39 EDT 2018
Updated via https://github.com/Gnucash/gnucash/commit/27c1df30 (commit)
via https://github.com/Gnucash/gnucash/commit/682b5cf5 (commit)
from https://github.com/Gnucash/gnucash/commit/8b3a8744 (commit)
commit 27c1df30afda7998c8f1dccd3253fb53a95fbe8e
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sat May 5 13:42:13 2018 +0200
Handle the common csv double quote escape variation (repeating the double quote)
commit 682b5cf581895a5da3296cfbfc24acc9ece0185e
Author: Geert Janssens <geert at kobaltwit.be>
Date: Sat May 5 12:42:17 2018 +0200
Bug 795666 - Backslash "\" in Description field spoils CSV Import without helpful error message
We've configure boost::tokenizer to take the backslash as the escape character
However boost::tokenizer will throw if it encounters a sole backslash that's
not an escape (it would expect two if a pure backslash is to be inserted).
Avoid this by replacing lone backslashes (not part of escapes) with double
backslashes before passing control to the tokenizer.
Summary of changes:
.../import-export/csv-imp/gnc-tokenizer-csv.cpp | 23 ++++++++++++++++++++++
.../import-export/csv-imp/test/test-tokenizer.cpp | 14 +++----------
2 files changed, 26 insertions(+), 11 deletions(-)
More information about the gnucash-patches
mailing list