From: D M German <dmg@uv...> - 2009-08-01 09:20:47
* parser.c: on discussion with Tom Modes I made sure that parser
saves and restores the locale.
My approach was to modify the parsing functions to have an "error
handler" (basically a jump to the end of the function) where the locale
is reset. this way we have, in every function, one single place where
errors are dealt with (I actually discovered a very simple memory leak
by doing this). See the code.
Equivalent to the patch by Tom Modes, but with a single place where the
locale is saved and restored.
Daniel M. German
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .
Get latest updates about Open Source Projects, Conferences and News.