>Number: 146742 >Category: misc >Synopsis: iconv (3) has a wrong definition according to the standards >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu May 20 00:00:17 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Riccardo >Release: 8.0 >Organization: >Environment: >Description: the definition of the iconv (3) function is wrong, FreeBSD appears to adhere to the gnu iconv http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.3.html
while the opengroup http://www.opengroup.org/onlinepubs/009695399/functions/iconv.html specifies it to: size_t iconv(iconv_t cd, char **restrict inbuf, size_t *restrict inbytesleft, char **restrict outbuf, size_t *restrict outbytesleft); notice how the definition of the second parameter is not (const char**). >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
