diff options
author | Alexey Zaytsev <alexey.zaytsev@gmail.com> | 2008-07-18 02:26:37 +0400 |
---|---|---|
committer | Alexey Zaytsev <zaytsev.a@protei.ru> | 2008-07-18 02:26:37 +0400 |
commit | c5e96feb498c170153507e27e02a5f92efeab62e (patch) | |
tree | d72cc7e6ceec1642d1dfb6d28aaf7824e3565c56 | |
parent | 4fb927db20448bf1902f24f98de96519b24f7f58 (diff) | |
download | syslinux-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>
-rw-r--r-- | com32/lua/src/lvm.c | 3 |
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 */ |