FreeBSD Bugzilla – Attachment 6993 Details for
Bug 15458
sort(1) doesn't sort correctly in some cases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 666 bytes, created by
Rudolf Čejka
on 1999-12-13 13:10:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Rudolf Čejka
Created:
1999-12-13 13:10:02 UTC
Size:
666 bytes
patch
obsolete
>--- sort.c.orig Mon Dec 13 13:21:26 1999 >+++ sort.c Mon Dec 13 13:25:33 1999 >@@ -208,6 +208,7 @@ > return strcoll(s[0], s[1]); > } > >+#if 0 > static int > collcmp(char *a, char *b, int mini) > { >@@ -223,6 +224,7 @@ > b[mini] = sb; > return r; > } >+#endif > #endif /* __FreeBSD__ */ > > static void >@@ -1153,7 +1155,7 @@ > } > else > #ifdef __FreeBSD__ >- diff = collcmp (texta, textb, min (lena, lenb)); >+ diff = strcoll (texta, textb); > #else > diff = memcmp (texta, textb, min (lena, lenb)); > #endif >@@ -1203,7 +1205,7 @@ > { > #endif > #ifdef __FreeBSD__ >- diff = collcmp (ap, bp, mini); >+ diff = strcoll (ap, bp); > #else > diff = memcmp (ap, bp, mini); > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 15458
: 6993