FreeBSD Bugzilla – Attachment 221431 Details for
Bug 252547
[PATCH] Fix an example to qsort.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for qsort.3 example
qsort.3.patch (text/plain), 646 bytes, created by
Hodong
on 2021-01-09 21:27:54 UTC
(
hide
)
Description:
patch for qsort.3 example
Filename:
MIME Type:
Creator:
Hodong
Created:
2021-01-09 21:27:54 UTC
Size:
646 bytes
patch
obsolete
>commit 6bdef8a00a9db1becbd814960746a2a90c0aee23 >Author: Hodong Kim <hodong@nimfsoft.com> >Date: Sun Jan 10 06:17:48 2021 +0900 > > Fix an example to qsort.3 > >diff --git a/lib/libc/stdlib/qsort.3 b/lib/libc/stdlib/qsort.3 >index 606185f9baee..22a0735af3a0 100644 >--- a/lib/libc/stdlib/qsort.3 >+++ b/lib/libc/stdlib/qsort.3 >@@ -322,7 +322,7 @@ main(void) > size_t array_size = sizeof(int_array) / sizeof(int_array[0]); > size_t k; > >- qsort(&int_array, array_size, sizeof(int_array[0]), int_compare); >+ qsort(int_array, array_size, sizeof(int_array[0]), int_compare); > for (k = 0; k < array_size; k++) > printf(" %d", int_array[k]); > puts("");
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 252547
: 221431