FreeBSD Bugzilla – Attachment 139688 Details for
Bug 185964
Codeset conversion to Chinese Simplified (HZ) is broken / segfaults
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
iconv-void-ptr-ptr.patch
iconv-void-ptr-ptr.patch (text/x-diff), 1.16 KB, created by
Manuel
on 2014-01-24 12:22:14 UTC
(
hide
)
Description:
iconv-void-ptr-ptr.patch
Filename:
MIME Type:
Creator:
Manuel
Created:
2014-01-24 12:22:14 UTC
Size:
1.16 KB
patch
obsolete
>Index: lib/libc/iconv/citrus_prop.c >=================================================================== >--- lib/libc/iconv/citrus_prop.c (revision 261094) >+++ lib/libc/iconv/citrus_prop.c (working copy) >@@ -436,7 +436,7 @@ > break; > _memstream_ungetc(&ms, ch); > errnum = _citrus_prop_parse_element( >- &ms, hints, (void ** __restrict)context); >+ &ms, hints, (void ** __restrict)&context); > if (errnum != 0) > return (errnum); > } >Index: lib/libiconv_modules/BIG5/citrus_big5.c >=================================================================== >--- lib/libiconv_modules/BIG5/citrus_big5.c (revision 261094) >+++ lib/libiconv_modules/BIG5/citrus_big5.c (working copy) >@@ -181,7 +181,7 @@ > > if (start > 0xFF || end > 0xFF) > return (EINVAL); >- ei = (_BIG5EncodingInfo *)ctx; >+ ei = (_BIG5EncodingInfo *)*ctx; > i = strcmp("row", s) ? 1 : 0; > i = 1 << i; > for (n = start; n <= end; ++n) >@@ -199,7 +199,7 @@ > > if (start > 0xFFFF || end > 0xFFFF) > return (EINVAL); >- ei = (_BIG5EncodingInfo *)ctx; >+ ei = (_BIG5EncodingInfo *)*ctx; > exclude = TAILQ_LAST(&ei->excludes, _BIG5ExcludeList); > if (exclude != NULL && (wint_t)start <= exclude->end) > return (EINVAL);
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 185964
:
139686
|
139687
| 139688