1--- lua/src/llex.c.orig	2011-12-25 23:39:35.254829002 -0500
2+++ lua/src/llex.c	2011-12-25 23:39:59.662829001 -0500
3@@ -176,9 +176,8 @@
4
5 static void trydecpoint (LexState *ls, SemInfo *seminfo) {
6   /* format error: try to update decimal point separator */
7-  struct lconv *cv = localeconv();
8   char old = ls->decpoint;
9-  ls->decpoint = (cv ? cv->decimal_point[0] : '.');
10+  ls->decpoint = '.';
11   buffreplace(ls, old, ls->decpoint);  /* try updated decimal separator */
12   if (!luaO_str2d(luaZ_buffer(ls->buff), &seminfo->r)) {
13     /* format error with correct decimal point: no more options */
14