aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lua
diff options
context:
space:
mode:
authorAlexey Zaytsev <alexey.zaytsev@gmail.com>2008-07-18 02:26:37 +0400
committerAlexey Zaytsev <zaytsev.a@protei.ru>2008-07-18 02:26:37 +0400
commitc5e96feb498c170153507e27e02a5f92efeab62e (patch)
treed72cc7e6ceec1642d1dfb6d28aaf7824e3565c56 /com32/lua
parent4fb927db20448bf1902f24f98de96519b24f7f58 (diff)
downloadsyslinux-c5e96feb498c170153507e27e02a5f92efeab62e.tar.gz
syslinux-c5e96feb498c170153507e27e02a5f92efeab62e.tar.xz
syslinux-c5e96feb498c170153507e27e02a5f92efeab62e.zip
Replace strcoll with strcmp, we don't have the locale stuff.
Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
Diffstat (limited to 'com32/lua')
-rw-r--r--com32/lua/src/lvm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/lua/src/lvm.c b/com32/lua/src/lvm.c
index ee3256ab..aef3da43 100644
--- a/com32/lua/src/lvm.c
+++ b/com32/lua/src/lvm.c
@@ -202,7 +202,8 @@ static int l_strcmp (const TString *ls, const TString *rs) {
const char *r = getstr(rs);
size_t lr = rs->tsv.len;
for (;;) {
- int temp = strcoll(l, r);
+// int temp = strcoll(l, r);
+ int temp = strcmp(l, r);
if (temp != 0) return temp;
else { /* strings are equal up to a `\0' */
size_t len = strlen(l); /* index of first `\0' in both strings */