Date: Thu, 20 May 2010 01:50:04 GMT From: Edwin Groothuis <edwin@mavetju.org> To: freebsd-standards@FreeBSD.org Subject: Re: misc/146742: iconv (3) has a wrong definition according to the standards Message-ID: <201005200150.o4K1o4N1009611@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/146742; it has been noted by GNATS. From: Edwin Groothuis <edwin@mavetju.org> To: freebsd-gnats-submit@FreeBSD.org, gabor@freebsd.org Cc: Subject: Re: misc/146742: iconv (3) has a wrong definition according to the standards Date: Thu, 20 May 2010 11:39:54 +1000 > 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**). Gabor@ might want to have his say on this one. Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005200150.o4K1o4N1009611>