]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/uclibc/lib/contrib/uclibc/libc/misc/dirent/alphasort.c
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / misc / dirent / alphasort.c
index eb0dbf2386d4c8f1edd6491de88fbe940368d295..67b3b7859bbd9fcfb4b01874e761f5d04620b3a9 100644 (file)
@@ -10,6 +10,8 @@
 
 int alphasort(const struct dirent **a, const struct dirent **b)
 {
-       return strcmp((*a)->d_name, (*b)->d_name);
+       return strcoll((*a)->d_name, (*b)->d_name);
 }
-
+#if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 64
+strong_alias_untyped(alphasort,alphasort64)
+#endif