Thomas Keller schrieb: > Zbigniew Zagórski schrieb: >> Yep, i've ran test suite before publishing binaries. There were no ... >> err, almost no failures. >> At least no significant ones. >> >> Failures: >> util_mtnopt because windows doesn't have "/bin/sh" usually installed >> automate_lua because "3.4" on polish locale is "3,4" grrr > > The last failure is intersting. I had exactly the same problem during > the development (because also in the German locale lua converts the dot > to the [correct] comma), but I could fix it by using another way to > convert numbers to strings. > > Could you please verify that you get under your locale the same output? > > $ lua > Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio >> print(tostring(3.1)) > 3.1
I found this [0] explaining that tostring() uses sprintf() which might be locale-aware or not. The workarounds aren't pretty... Thomas. [0] http://lua-users.org/lists/lua-l/2002-04/msg00079.html -- GPG-Key 0x160D1092 | [email protected] | http://thomaskeller.biz Please note that according to the EU law on data retention, information on every electronic information exchange might be retained for a period of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
