summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-04-27 03:50:17 +0000
committerJim Meyering <jim@meyering.net>1998-04-27 03:50:17 +0000
commitb44e91e99dc95539513594fa1ecf5368190f5186 (patch)
tree7925baaa3e87d3b670680a903b4b6636c25b652b
parentce3668f3c14259cb15f71e8151bf8ab65bb1081c (diff)
downloadcoreutils-b44e91e99dc95539513594fa1ecf5368190f5186.tar.xz
(strncoll): Remove bogus assertion.
-rw-r--r--src/sort.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c
index 7e1e17971..f3809814c 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -481,8 +481,6 @@ strncoll (char *s1, char *s2, int len)
{
register int diff;
- assert (len == min (strlen (s1), strlen (s2)));
-
if (need_locale)
{
/* Emulate a strncoll function, by forcing strcoll to compare