On Sun, Jul 5, 2020 at 11:51 AM Davidson Francis <davidsondfgl@xxxxxxxxx> wrote: > > The test-inspect tool uses GTK to visualize symbol nodes. It turns > out that gtk_init() implicitly sets the locale to the system locale, > and since Sparse uses strtod()/strtold() for parsing floating-point > numbers in expressions, parsing becomes locale-dependent. We probably shouldn't be using strtod/strtold in the first place because of issues like this, but I think your patch is likely the simplest fix. It _might_ be a good idea to limit it to LC_NUMERIC instead of LC_ALL, but who knows.. I'm not sure what else might be affected (and I'm not sure how good LC_NUMERIC support is on all platforms) Linus