]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(strncoll): Remove bogus assertion.
authorJim Meyering <jim@meyering.net>
Mon, 27 Apr 1998 03:50:17 +0000 (03:50 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 27 Apr 1998 03:50:17 +0000 (03:50 +0000)
src/sort.c

index 7e1e17971e6601efbf9993f41bc75c101e015169..f3809814ca4e865ec1c9e2083ab58c4e866f8fc4 100644 (file)
@@ -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