Yeah, I saw that. But it won't help in any way, sorry ;(
To reclarify, the sequence of events leading to bug was:
1. You boot the mud first time with locale specifying "i want commas in floats". This includes many European locales. For sure Polish and Hungarian

2. ECONOMY_D restores the stock .o file, everything is ok...
3. (later) ECONOMY_D wants to save his mapping.
But it saves it as
#/secure/daemon/economy.c
Currencies (["dollars":(["rate":100,000000,"weight":0,001000,"inflation":0,000000,]),"silver":(["rate":100,"weight":0,800000,"inflation":0,000000,]),"electrum":(["rate":500,"weight":0,004000,"inflation":0,000000,])<etc...>,])
LastInflation 1150654990
Note that floats has been printf()ed with commas, so the resulting mapping is invalid.
4. Daemon uses data from memory, and everything work right.
5. Reboot (or update(ECONOMY_D) ) occurs.
6. Cannot restore from economy.o - invalid file format
7. The mapping inside daemon is empty, because it couldn't be restored from file.
Yes, now your fix will kick in and forbid saving the empty mapping. But the file has been damaged by the PREVIOUS run.
Good news: ISO C standard requires that in default "C" locale floats MUST be printf()ed with dot as separator.
So, now we're secured.
PS. According to ChangeLog.beta, locale support has been added in MudOS 22.1b28, "[based on patches from Naebator@Remedy]". Question: WHY? We don't have one translated message in the whole driver.
Hmm... string categorization/sorting routines? OK, if you want to make a mud in foreign language, and use libc functions on 'em...
OTOH, probably NO ONE of today's mudadmins will even think of setting locales on their server - especially if it's a paid hosting...
If you want to leave it as an option (so e.g. sorting wili put national characters in their place in local alphabet, not at the end after all ASCII), make that line in main.c:
setlocale(LC_ALL & (~LC_NUMERIC), "");
This will localize everything EXCEPT numbers. Note - that char in front of LC is a tilde - on my screen it is very dash-ish, dunno how it looks for you.
Now, let's go and make that mudlib even more a**-kicking...
'Skal