#
282275 |
|
30-Apr-2015 |
tijl |
MFC r275805:
Fix incorrect type of "invalids" argument in __iconv() prototype.
MFC r281550,281591:
Remove the const qualifier from iconv(3) to comply with POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
Adjust all code that calls iconv.
PR: 199099
|
#
267665 |
|
20-Jun-2014 |
tijl |
MFC r267436-267439:
- Replace malloc+memset with calloc. - iconv_open(3): initialise ci_ilseq_invalid field of _citrus_iconv_shared struct after allocation with malloc. - iconvlist(3): reduce a memory leak by copying strings only once. - iconv(1): - Make invalids variable local to do_conv such that it prints the number of invalid characters of the current file instead of an accumulated value. - Make do_conv return an error when invalid characters have been found. Return EXIT_FAILURE from main if any file contained invalid characters. This matches the behaviour of GNU iconv. - Mark usage with __dead2 attribute. - Make the long_options array const.
Tested by: Pavel Timofeev <timp87@gmail.com>
|
#
262731 |
|
04-Mar-2014 |
tijl |
MFC r262441-262442,262447,262461-262464,262655:
- Consistently pass around context information using a simple pointer. This fixes some dereferencing bugs in Chinese character set conversions. - Fix Simplified Chinese character set conversions by switching around the fields of an internal struct so it corresponds with the way variables of this type are initialised. - Fix an array index out of bounds bug in iconv VIQR (Vietnamese) module. - Silence gcc warning about unsigned comparison with 0.
Also record r258316 and r258587 as merged so they no longer show up as eligible.
PR: 185964 Submitted by: Manuel Mausz <manuel-freebsd@mausz.at>
|
#
260264 |
|
04-Jan-2014 |
dim |
MFC r260003:
In libiconv_modules, surround unused static _citrus_XXX_pack_state() and _citrus_XXX_unpack_state() functions with #if 0, for now.
|
#
282275 |
|
30-Apr-2015 |
tijl |
MFC r275805:
Fix incorrect type of "invalids" argument in __iconv() prototype.
MFC r281550,281591:
Remove the const qualifier from iconv(3) to comply with POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html
Adjust all code that calls iconv.
PR: 199099
|
#
267665 |
|
20-Jun-2014 |
tijl |
MFC r267436-267439:
- Replace malloc+memset with calloc. - iconv_open(3): initialise ci_ilseq_invalid field of _citrus_iconv_shared struct after allocation with malloc. - iconvlist(3): reduce a memory leak by copying strings only once. - iconv(1): - Make invalids variable local to do_conv such that it prints the number of invalid characters of the current file instead of an accumulated value. - Make do_conv return an error when invalid characters have been found. Return EXIT_FAILURE from main if any file contained invalid characters. This matches the behaviour of GNU iconv. - Mark usage with __dead2 attribute. - Make the long_options array const.
Tested by: Pavel Timofeev <timp87@gmail.com>
|
#
262731 |
|
04-Mar-2014 |
tijl |
MFC r262441-262442,262447,262461-262464,262655:
- Consistently pass around context information using a simple pointer. This fixes some dereferencing bugs in Chinese character set conversions. - Fix Simplified Chinese character set conversions by switching around the fields of an internal struct so it corresponds with the way variables of this type are initialised. - Fix an array index out of bounds bug in iconv VIQR (Vietnamese) module. - Silence gcc warning about unsigned comparison with 0.
Also record r258316 and r258587 as merged so they no longer show up as eligible.
PR: 185964 Submitted by: Manuel Mausz <manuel-freebsd@mausz.at>
|
#
260264 |
|
04-Jan-2014 |
dim |
MFC r260003:
In libiconv_modules, surround unused static _citrus_XXX_pack_state() and _citrus_XXX_unpack_state() functions with #if 0, for now.
|