]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Include hard-locale.h, xmemcoll.h.
authorJim Meyering <jim@meyering.net>
Fri, 2 Aug 2002 14:42:37 +0000 (14:42 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 2 Aug 2002 14:42:37 +0000 (14:42 +0000)
commit545c2323d493c7ed9c770d9b8e45a15db6f615bc
tree983819d17fb03e7ca63c4c4015b428757e5f919b
parent69a27f2c3d60fccec51725ace937aa38febe330b
Include hard-locale.h, xmemcoll.h.
(hard_LC_COLLATE): New var.
(different): Args are now char *, not const char *.
Use xmemcoll instead of memcmp to compare lines, so that
LC_COLLATE has effect.  However, use memcmp if it is an
easy locale.
(check_file): Do not include newline in comparison, so that
xmemcoll has a byte to stomp on temporarily.
(main): Set hard_LC_COLLATE.
src/uniq.c