misc/146742: iconv (3) has a wrong definition according to the
edwin at mavetju.org
Thu May 20 01:50:05 UTC 2010
The following reply was made to PR standards/146742; it has been noted by GNATS.
From: Edwin Groothuis <edwin at mavetju.org>
To: freebsd-gnats-submit at FreeBSD.org, gabor at freebsd.org
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
> while the opengroup
> 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 Groothuis Website: http://www.mavetju.org/
edwin at mavetju.org Weblog: http://www.mavetju.org/weblog/
More information about the freebsd-standards