lkml.org 
[lkml]   [2008]   [May]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH]: improved strnicmp in lib/string.c
Soumyadip Das Mahapatra wrote:
> This is somewhat improved version of strnicmp() function in lib/string.c. I have implemented binary
> comparison rather than linear one(which was in the older version).

It doesn't correctly indicate the sort order. For example, when
comparing "accdd" against "abcde", it indicates that the first string
sorts before the second (which is wrong.)


\
 
 \ /
  Last update: 2008-05-08 03:17    [W:0.053 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site